liuhanmingxl 发表于 2014-1-21 17:02:12

安装出错,php安装不成功,重装n次都不行

华为云的主机,重装了N次系统,重装完系统就装lnmp 都是失败,各位看看是怎么回事

liuhanmingxl 发表于 2014-1-21 18:19:02

哪位好心人帮忙看看啊

id886 发表于 2014-1-21 18:32:12

执行升级php到5.3.28 看看   upgrade_php.sh

liuhanmingxl 发表于 2014-1-21 22:22:53

回复 3# 的帖子

Remove old start files and Add new start file.....
error reading information on service php-fpm: No such file or directory
Starting Nginx...
Starting nginx daemon: nginx.
Starting MySQL...
Starting MySQL. SUCCESS!
Starting PHP-FPM...
./upgrade_php.sh: line 292: /etc/init.d/php-fpm: No such file or directory
=========================================================================
You have successfully upgrade fromto 5.3.28
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux
=========================================================================

For more information please visit http://www.lnmp.org/

=========================================================================
不行啊,还失败 安装不了php

licess 发表于 2014-1-22 10:31:18

checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
    easy.h should be in <curl-dir>/include/curl/

curl库可能没安装上,yum -y install libcurl curl-devel 安装一下,再手动编译安装php或重新安装 或用升级脚本重新安装php
不行的话只能换debian或ubuntu
页: [1]
查看完整版本: 安装出错,php安装不成功,重装n次都不行