mysql - PHP-cgi stops working randomly without error log -


i'm using nginx (wt-nmp - portable mysql nginx php app.). working except php-cgi, stopping randomly , have start again, in fact realized if add post website (in wordpress), stopping. stopping without no reason, maybe there reason cant see because no error shows in errorlogs.

i searched on internet , found problem couldn't use these methods on windows server.

the solution found: set php_fcgi_max_requests=0 script starts php-cgi.exe

@echo off echo starting php fastcgi... set php_fcgi_max_requests=0 set path="d:\program files\php;%path%" "c:\program files\php\php-cgi.exe" -b 127.0.0.1:9000 -c "c:\program files\php\php.ini" 

any idea problem? or idea how use codes on windows server. searched windows , found 1 solution, iis.

the proccess: adding php_fcgi_max_requests=0 environment variables.

the following setting works fine windows 2012 r2 server !!!

http://i.stack.imgur.com/hriao.jpg

control panel-> system->advanced system settings->advanced->environment variables->system variables-> new -> variable name: php_fcgi_max_requests & variable value: 0


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -