a496252649 发表于 2013-10-8 15:30:51

安装报错 Error: /usr/local/php not found!!!PHP install failed.(Linux Mint 15 Olivia

file:///home/ahan/%E6%A1%8C%E9%9D%A2/lnmp-install.log.tar.gz
报错信息:
Checking...
Nginx: OK
Error: /usr/local/php not found!!!PHP install failed.
MySQL: OK
Sorry,Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.


php错误日志:
configure: error: Please reinstall the libcurl distribution -
    easy.h should be in <curl-dir>/include/curl/
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target `install'.Stop.
ln: failed to create symbolic link ‘/usr/bin/phpize’: File exists
ln: failed to create symbolic link ‘/usr/bin/php-fpm’: File exists


正在清除 mysql-common 的配置文件 ...
rclibapache2-mod-dnssd                        0.6-3                                  amd64      Zeroconf support for Apache 2 via avahi
dpkg:警告:ignoring request to remove apache2 which isn't installed
dpkg:警告:ignoring request to remove apache2-doc which isn't installed
dpkg:警告:ignoring request to remove apache2-mpm-prefork which isn't installed
dpkg:警告:ignoring request to remove apache2-utils which isn't installed
dpkg:警告:ignoring request to remove apache2.2-common which isn't installed
dpkg:警告:ignoring request to remove php5 which isn't installed
dpkg:警告:ignoring request to remove php5-common which isn't installed
dpkg:警告:ignoring request to remove php5-cgi which isn't installed
dpkg:警告:ignoring request to remove php5-mysql which isn't installed
dpkg:警告:ignoring request to remove php5-curl which isn't installed
dpkg:警告:ignoring request to remove php5-gd which isn't installed
正在读取软件包列表...

[ 本帖最后由 a496252649 于 2013-10-8 17:07 编辑 ]

a496252649 发表于 2013-10-8 15:34:46

回复 1# 的帖子

自己顶下, 无法上传附件,看不到附件上传按钮

a496252649 发表于 2013-10-8 17:47:22

无敌了原因找到了。

多搞了个 cd..
跳到了“ .” 目录安装就会有上面的错误,
请在“/” 下安装,也是根目录。 不然会报错

a496252649 发表于 2013-10-9 12:24:33

php没安装成功帮忙看下

php没安装成功帮忙看下

licess 发表于 2013-10-9 15:58:45

按提供的部分信息看是libcurl没安装上
页: [1]
查看完整版本: 安装报错 Error: /usr/local/php not found!!!PHP install failed.(Linux Mint 15 Olivia