VPS侦探论坛

 找回密码
 注册
查看: 7106|回复: 4

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

[复制链接]
发表于 2013-10-8 15:30:51 | 显示全部楼层 |阅读模式

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 的配置文件 ...
rc  libapache2-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 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-10-8 15:34:46 | 显示全部楼层

回复 1# 的帖子



自己顶下, 无法上传附件,看不到附件上传按钮
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-10-8 17:47:22 | 显示全部楼层

无敌了原因找到了。


多搞了个 cd  ..
跳到了“ .” 目录安装就会有上面的错误,
请在“/” 下安装,也是根目录。 不然会报错
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-10-9 12:24:33 | 显示全部楼层

php没安装成功帮忙看下




php没安装成功帮忙看下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-10-9 15:58:45 | 显示全部楼层

按提供的部分信息看是libcurl没安装上

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-12-26 03:35 , Processed in 0.025946 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表