VPS侦探论坛

 找回密码
 注册
查看: 2599|回复: 2

lnmp1.6 腾讯云 安装php失败

[复制链接]
发表于 2019-6-15 02:23:30 | 显示全部楼层 |阅读模式

lnmp1.6 腾讯云 安装php失败

看不出什么原因,用腾讯云的源和阿里的源都是这个问题

请大神解惑


本帖子中包含更多资源

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

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-6-15 09:48:49 | 显示全部楼层


/root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:25: note: suggested alternative:
In file included from /root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.h:26:0,
                 from /root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:21:
/usr/include/unicode/unistr.h:289:20: note:   ‘icu_63::UnicodeString’
class U_COMMON_API UnicodeString : public Replaceable
                    ^
/root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:40: error: ‘ret’ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
                                        ^
/root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:45: error: expected primary-expression before ‘char’
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
                                             ^
/root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:64: error: expected primary-expression before ‘str_len’
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
                                                                ^
/root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:84: error: expected primary-expression before ‘*’ token
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
                                                                                    ^
/root/lnmp1.6/lnmp1.6/src/php-5.6.40/ext/intl/intl_convertcpp.cpp:28:85: error: ‘status’ was not declared in this scope
int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status)
                                                                                     ^
Makefile:964: recipe for target 'ext/intl/intl_convertcpp.lo' failed
make: *** [ext/intl/intl_convertcpp.lo] Error 1

你系统自带的icu版本是64.1太高,php 5.6已经停止支持,只能换php 7.1及以上版本或者更换其他低ubuntu版本或linux发行版但是正常ubuntu 16.04上自带的icu是55.1
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-22 17:27 , Processed in 0.026198 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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