I am running Windows 8 with Nginx as a web server, and php as my language. I created a vbs script to easily start php-cgi
, and it looks like this:
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run("C:\php\php-cgi.exe -b 127.0.0.1:9000"), 0, True
The script works, php works, but the issue I am having is that from time to time php will stop or shut down. I am not sure if this has to do with the script or the php settings. Why does php-cgi
keep stopping from time to time? I don't like having to restart it constantly.
Linux boxes don't seem to have this issue, as I have run php for months without it shutting down.