thinkevd 发表于 2011-8-24 04:59:02

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

我手动删除了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...
: 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 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!

thinkevd 发表于 2011-8-24 05:05:08

已解决。在lnmp0.7-full下找到conf文件,复制后解决。
有三个文件需复制:nginx.conf, php-fpm.conf, fcgi.conf
谢谢军哥,考虑的真周到
页: [1]
查看完整版本: 安装lnmp0.7后缺少nginx.conf等?