问题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