回复 29# 的帖子
安装没有问题,不过建议看看程序的兼容性,有些程序是没法再5.4的版本上运行的 安装没问题,直觉问题是出在安装好LNMP后,更改网站的存放目录修改了这里。1.0默认目录加了default这一层,执行: cp -a /home/wwwroot/default 新目录 ,chown www:www -R 新目录 。之后添加虚拟主机,DNS解析(cp后的工作目录为: /mnt/wwwroot/web/default 我虚拟机路径配置到/mnt/wwwroot/web这里对吗?,web里面的wordpress可以正常加载主页的,但是web里面的其他项目不执行php代码,所以不确定虚拟机路径是否应该配置到default里面去。。。)[ 本帖最后由 Y.P.S.C.E. 于 2013-11-23 13:43 编辑 ]
回复 32# 的帖子
发该虚拟主机的配置文件看看PHP不支持*续
虚拟主机的配置文件信息如下,在线等待。。。server{
listen 80;
server_name 21wq.com www.21wq.com;
index index.html index.htm index.php default.html default.htm default.php;
root/mnt/wwwroot/web;
include none.conf;
location ~ .*\.(php|php5)?$
{
try_files $uri =404;
fastcgi_passunix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fcgi.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
access_log off;
}
//完整配置
[ 本帖最后由 Y.P.S.C.E. 于 2013-11-23 21:24 编辑 ]
回复 34# 的帖子
看配置没错误64位 centos6.5下安装lnmp失败
64位 centos6.5下安装lnmp失败回复 36# 的帖子
Error: Cannot find a valid baseurl for repo: baseCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error resolving pool.ntp.org: Name or service not known (-2)
源有问题,dns设置也有问题https://bbs.vpser.net/thread-3246-1-1.html
64位 ubuntu 14.04下安装lnmp失败
root@ubuntu:/home/edusoho# screen -S lnmpChecking...
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.
LNMP在Centos6.0中安装失败
1.系统:CentOS6.032位 虚拟机:VM,分配内存1G,LNMP版本:1.12.安装说明:http://lnmp.org/install.html 刚开始安装一切正常,结果到了最后才安装失败、求帮助
回复 39# 的帖子
wget: command not found连最基本的wget命令都没有肯定安装失败
而且你系统的yum有问题,而且有其他程序占用了yum
回复 40# 的帖子
谢谢了,我先再试试:lolCentOS6.5 安装lnmp 失败
系统:CentOS6.532位 LNMP版本:1.1 系统是CentOS 6 64bit昨天安装lnmp的时候出错,忘记截图,然后今天早上就发现连lnmp都无法启动了so今天重新安装了,然后一直守在电脑前看着截图如下
[ 本帖最后由 madman 于 2014-7-10 18:08 编辑 ]
升级PHP至PHP5.4.34、nginx至nginx1.7.7后执行HTML正常,执行PHP出现502 Bad Gateway。
/usr/local/nginx/sbin/nginx -t ,正常。/usr/local/php/bin/php -v,正常。
/root/lnmp statu,正常。
/usr/local/php/var/log/php-fpm.log 的日志如下:
NOTICE: fpm is running, pid 25595
NOTICE: ready to handle connections
NOTICE: Finishing ...
NOTICE: exiting, bye-bye!
NOTICE: fpm is running, pid 26207
NOTICE: fpm is running, pid 25595
NOTICE: ready to handle connections
NOTICE: Finishing ...
NOTICE: exiting, bye-bye!
NOTICE: fpm is running, pid 26207
NOTICE: ready to handle connections
NOTICE: Finishing ...
NOTICE: exiting, bye-bye!
NOTICE: fpm is running, pid 27339
NOTICE: ready to handle connections
lnmp1.2-full.tar.gz安装失败
服务器Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux安装后错误
Error: PHP install failed.
Error: Apache install failed.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.