配置变量 php_suffix 不匹配

配置变量 php_suffix 不匹配

我在 中的 Webuzo (centos-6-x86_64.openvz) 上有一个 php 实例/usr/local/apps/php54/。它已经在 中安装了 pecl 和 phpize /usr/local/apps/php54/bin/。使用命令安装 igbinary 时

`/usr/local/apps/php54/bin/pecl install igbinary`

我收到此警告:

"WARNING: php_bin /usr/local/apps/php54/bin/php appears to have a suffix 54/bin/php, 
 but config variable php_suffix does not match"

完整日志

# /usr/local/apps/php54/bin/pecl install igbinary
downloading igbinary-1.2.1.tar ...
Starting to download igbinary-1.2.1.tar (Unknown size)
..........................done: 229,376 bytes
9 source files, building
WARNING: php_bin /usr/local/apps/php54/bin/php appears to have a suffix 54/bin/php, but   config variable php_suffix does not match
running: phpize
Configuring for:
PHP Api Version:         20100412
Zend Module Api No:      20100525
Zend Extension Api No:   220100525
shtool at '/tmp/pear/temp/igbinary/build/shtool' does not exist or is not executable.
Make sure that the file exists and is executable and then rerun this script.

ERROR: `phpize' failed

以下是 pecl 的配置列表:sudo /usr/local/apps/php54/bin/pecl config-show

directory
PHP CLI/CGI binary             php_bin          /usr/local/apps/php54/bin/php
php.ini location               php_ini          /etc/php.ini
--program-prefix passed to     php_prefix       <not set>
PHP's ./configure
--program-suffix passed to     php_suffix       <not set>

相关内容