php版本:7.2 安装失败

问答中心分类: PHPphp版本:7.2 安装失败
she asked 6 年 ago

^
/root/download/oneinstack/src/php-7.2.19/ext/intl/intl_convertcpp.cpp:40:9: error: ‘utf16’ was not declared in this scope
UChar *utf16 = ret.getBuffer(capacity);
^
/root/download/oneinstack/src/php-7.2.19/ext/intl/intl_convertcpp.cpp:40:21: error: ‘class icu_64::UnicodeString’ has no member named ‘getBuffer’
UChar *utf16 = ret.getBuffer(capacity);
^
/root/download/oneinstack/src/php-7.2.19/ext/intl/intl_convertcpp.cpp:45:9: error: ‘u_strFromUTF8WithSub_64’ was not declared in this scope
status);
^
/root/download/oneinstack/src/php-7.2.19/ext/intl/intl_convertcpp.cpp: In function ‘zend_string* intl_charFromString(const icu_64::UnicodeString&, UErrorCode*)’:
/root/download/oneinstack/src/php-7.2.19/ext/intl/intl_convertcpp.cpp:77:8: error: ‘UChar’ does not name a type
const UChar *utf16buf = from.getBuffer();
^
/root/download/oneinstack/src/php-7.2.19/ext/intl/intl_convertcpp.cpp:79:61: error: ‘utf16buf’ was not declared in this scope
u_strToUTF8WithSub(ZSTR_VAL(u8res), capacity, &actual_len, utf16buf, from.length(),
^
Makefile:1149: recipe for target 'ext/intl/intl_convertcpp.lo' failed
make: *** [ext/intl/intl_convertcpp.lo] Error 1
PHP install failed, Please Contact the author!

Question Tags:

2 Answers
she answered 6 年 ago
 php -v
php: symbol lookup error: php: undefined symbol: crypto_pwhash_scryptsalsa208sha256_memlimit_interactive

oneinstack answered 6 年 ago
操作系统详细版本是多少?