VPS侦探论坛

 找回密码
 注册
查看: 6329|回复: 1

安装lnmp0.7后缺少nginx.conf等?

[复制链接]
发表于 2011-8-24 04:59:02 | 显示全部楼层 |阅读模式

我手动删除了lnmp0.4(uninstall.sh不成功),删了usr/php nginx mysql。安装lnmp0.7 full,完成后。sh lnmp restart,结果如下:奇怪,缺少nginx.conf php-fpm.conf也能启动成功?我用conf.default修改成conf可以吗?可是php-fpm.conf没有啊。
Stoping LNMP...
Nginx program is not runing!
PHP-FPM program is not runing!
Shutting down MySQL.. SUCCESS!
MySQL program is stop
Starting LNMP...
[emerg]: open() "/usr/local/nginx/conf/nginx.conf" failed (2: No such file or directory)
Nginx start successfully!
Starting php_fpm I/O warning : failed to load external entity "/usr/local/php/etc/php-fpm.conf"
Aug 24 04:54:22.627830 [ERROR] fpm_conf_init_main(), line 517: failed to load configuration file: failed to parse conf file
failed
PHP-FPM start successfully!
Starting MySQL. SUCCESS!
MySQL start successfully!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-8-24 05:05:08 | 显示全部楼层


已解决。在lnmp0.7-full下找到conf文件,复制后解决。
有三个文件需复制:nginx.conf, php-fpm.conf, fcgi.conf
谢谢军哥,考虑的真周到
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-28 18:19 , Processed in 0.025478 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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