APMServ 5.2.6 無法啟動Nginx的BUG修正方法

[重要通告]如您遇疑難雜癥,本站支持知識付費業(yè)務(wù),掃右邊二維碼加博主微信,可節(jié)省您寶貴時間哦!

在nginx\conf\nginx.conf配置文件的http { }內(nèi),增加以下三行語句(注意去掉盤符后的路徑需跟當(dāng)前路徑一致):
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號又微信號)右上方掃一掃可加博主微信

所寫所說,是心之所感,思之所悟,行之所得;文當(dāng)無敷衍,落筆求簡潔。 以所舍,求所獲;有所依,方所成!

支付寶贊助
微信贊助

免責(zé)聲明,若由于商用引起版權(quán)糾紛,一切責(zé)任均由使用者承擔(dān)。

您必須遵守我們的協(xié)議,如您下載該資源,行為將被視為對《免責(zé)聲明》全部內(nèi)容的認可->聯(lián)系老梁投訴資源
LaoLiang.Net部分資源來自互聯(lián)網(wǎng)收集,僅供用于學(xué)習(xí)和交流,請勿用于商業(yè)用途。如有侵權(quán)、不妥之處,請聯(lián)系站長并出示版權(quán)證明以便刪除。 敬請諒解! 侵權(quán)刪帖/違法舉報/投稿等事物聯(lián)系郵箱:service@laoliang.net
意在交流學(xué)習(xí),歡迎贊賞評論,如有謬誤,請聯(lián)系指正;轉(zhuǎn)載請注明出處: » APMServ 5.2.6 無法啟動Nginx的BUG修正方法

發(fā)表回復(fù)

本站承接,網(wǎng)站推廣(SEM,SEO);軟件安裝與調(diào)試;服務(wù)器或網(wǎng)絡(luò)推薦及配置;APP開發(fā)與維護;網(wǎng)站開發(fā)修改及維護; 各財務(wù)軟件安裝調(diào)試及注冊服務(wù)(金蝶,用友,管家婆,速達,星宇等);同時也有客戶管理系統(tǒng),人力資源,超市POS,醫(yī)藥管理等;

立即查看 了解詳情