The command line execution php-cgi-b 127.0.0.1:9000 This execution, if the pressure is a little bit off, then the 500 error, there is no automatic restart method, or can be automatically adjusted according to the load php-cgi process methods
Reply content:
The command line execution php-cgi-b 127.0.0.1:9000 This execution, if the pressure is a little bit off, then the 500 error, there is no automatic restart method, or can be automatically adjusted according to the load php-cgi process methods
It is recommended to use an integrated environment, I use UPUPW NGINX.
Alternative options are:
Apache2 mod-fcgid:http://php.net/manual/zh/install.windows.apache2.php (see the section "Running PHP in FastCGI mode")
FastCGI for iis:http://php.net/manual/zh/install.windows.iis7.php
Note: In the php.ini configuration, the Cgi.fix_pathinfo must be 0, otherwise the vulnerability would be: https://segmentfault.com/q/1010000002927290