VPS侦探论坛

 找回密码
 注册
搜索
热搜: pathinfo
查看: 122|回复: 2

LNMP1.6失败!!!

[复制链接]
发表于 2019-5-11 01:00:28 | 显示全部楼层 |阅读模式




只有mysql ok
咋回事啊?!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org/
发表于 2019-5-11 12:42:51 | 显示全部楼层

/root/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp: In function ‘int intl_charFromString(const int&, char**, int*, UErrorCode*)’:
/root/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:56:11: error: request for member ‘isBogus’ in ‘from’, which is of non-class type ‘const int’
  if (from.isBogus()) {
           ^~~~~~~
/root/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:62:26: error: request for member ‘length’ in ‘from’, which is of non-class type ‘const int’
  int32_t capacity = from.length() * 3 + 1;
                          ^~~~~~
/root/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:64:11: error: request for member ‘isEmpty’ in ‘from’, which is of non-class type ‘const int’
  if (from.isEmpty()) {
           ^~~~~~~
/root/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:74:31: error: request for member ‘getBuffer’ in ‘from’, which is of non-class type ‘const int’
  const UChar *utf16buf = from.getBuffer();
                               ^~~~~~~~~
/root/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:76:69: error: request for member ‘length’ in ‘from’, which is of non-class type ‘const int’
  u_strToUTF8WithSub(*res, capacity - 1, &actual_len, utf16buf, from.length(),
                                                                     ^~~~~~
Makefile:847: recipe for target 'ext/intl/intl_convertcpp.lo' failed
make: *** [ext/intl/intl_convertcpp.lo] Error 1

Ubuntu 18.04的icu版本是64.1,对于php 5.6来说,icu 64.1并未适配且php 5.6已经不再更新,要装php 5.6的话得可以使用ubuntu 18以下的版本试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org/
 楼主| 发表于 2019-5-11 20:54:18 来自手机 | 显示全部楼层

谢谢回复,辛苦辛苦。。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org/
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2019-5-26 18:20 , Processed in 0.044878 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表