APMServ 5.2.6 无法启动Nginx的BUG修正方法

[全站通告] 想快速节省您的时间并可接受付费的朋友,可扫右边二维码加博主微信-非诚勿扰!

在nginx\conf\nginx.conf配置文件的http { }内,增加以下三行语句(注意去掉盘符后的路径需跟当前路径一致):
client_body_temp_path /APMServ5.2.6/nginx/client_body_temp;
proxy_temp_path /APMServ5.2.6/nginx/proxy_temp;
fastcgi_temp_path /APMServ5.2.6/nginx/fastcgi_temp;
-----------------------------------------------------------------------------------------------------
修正后的nginx\conf\nginx.conf配置文件全文如下:
-----------------------------------------------------------------------------------------------------

worker_processes 1;

error_log /APMServ5.2.6/nginx/logs/error.log crit;

pid /APMServ5.2.6/nginx/logs/nginx.pid;

events {
worker_connections 64;
}

http {
include /APMServ5.2.6/nginx/conf/mime.types;
default_type application/octet-stream;

#charset gb2312;

server_names_hash_bucket_size 128;
client_header_buffer_size 32k;
large_client_header_buffers 4 32k;

keepalive_timeout 60;

fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_buffer_size 64k;
fastcgi_buffers 4 64k;
fastcgi_busy_buffers_size 128k;
fastcgi_temp_file_write_size 128k;
client_body_temp_path /APMServ5.2.6/nginx/client_body_temp;
proxy_temp_path /APMServ5.2.6/nginx/proxy_temp;
fastcgi_temp_path /APMServ5.2.6/nginx/fastcgi_temp;

gzip on;
gzip_min_length 1k;
gzip_buffers 4 16k;
gzip_http_version 1.0;
gzip_comp_level 2;
gzip_types text/plain application/x-javascript text/css application/xml;
gzip_vary on;

server {
listen 85;
server_name localhost;
index index.html index.htm index.php;
root /APMServ5.2.6/www/htdocs;
autoindex on;

location ~ .*\.(php|php5)?$ {
fastcgi_pass 127.0.0.1:9000;
include /APMServ5.2.6/nginx/conf/fastcgi_params;
}

log_format access '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" $http_x_forwarded_for';
access_log /APMServ5.2.6/nginx/logs/access.log access;
}
}

问题未解决?付费解决问题加Q或微信 2589053300 (即Q号又微信号)右上方扫一扫可加博主微信

所写所说,是心之所感,思之所悟,行之所得;文当无敷衍,落笔求简洁。 以所舍,求所获;有所依,方所成!

支付宝赞助
微信赞助

免责声明,若由于商用引起版权纠纷,一切责任均由使用者承担。

您必须遵守我们的协议,如您下载该资源,行为将被视为对《免责声明》全部内容的认可->联系老梁投诉资源
LaoLiang.Net部分资源来自互联网收集,仅供用于学习和交流,请勿用于商业用途。如有侵权、不妥之处,请联系站长并出示版权证明以便删除。 敬请谅解! 侵权删帖/违法举报/投稿等事物联系邮箱:service@laoliang.net
意在交流学习,欢迎赞赏评论,如有谬误,请联系指正;转载请注明出处: » APMServ 5.2.6 无法启动Nginx的BUG修正方法

发表回复

本站承接,网站推广(SEM,SEO);软件安装与调试;服务器或网络推荐及配置;APP开发与维护;网站开发修改及维护; 各财务软件安装调试及注册服务(金蝶,用友,管家婆,速达,星宇等);同时也有客户管理系统,人力资源,超市POS,医药管理等;

立即查看 了解详情