问题1
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml bu ild works... (cached) yes
checking for XSL support... yes
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
[root@centos1 php-5.3.27]#
解决:
yum install libxslt* -y
ln -s /application/mysql/lib/libmysqlclient.so.18 /usr/lib64/
问题2:
需要下做下面软连接,如果不做直接make会出现下面错误
ERROR: invalid PHP executable specified by TEST_PHP_EXECUTABLE = /home/lvnian/tools/php-5.3.27/sapi/cli/php
[root@centos1 php-5.3.27]#
解决:
ln -s /application/mysql/lib/libmysqlclient.so.18 /usr/lib64/
问题3:
/home/lvnian/tools/php-5.3.27/build/shtool install -c ext/phar/phar.phar /application/php5.3.27/bin
cp: cannot stat `ext/phar/phar.phar': No such file or directory
make: *** [install-pharcmd] Error 1
cp /home/lvnian/tools/php-5.3.27/ext/phar/phar.php /home/lvnian/tools/php-5.3.27/ext/phar/phar.phar
make
make install
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。