RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
lnmp安装php错误解决

问题1

专注于为中小企业提供网站建设、做网站服务,电脑端+手机端+微信端的三站合一,更高效的管理,为中小企业苏州免费做网站提供优质的服务。我们立足成都,凝聚了一批互联网行业人才,有力地推动了1000多家企业的稳健成长,帮助中小企业通过网站建设实现规模扩充和转变。

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


当前名称:lnmp安装php错误解决
当前路径:http://sczitong.cn/article/gppcij.html