I just learned and used it. A newbie! Make a summary. Don't forget it!
PHP is an open-source project. In Linux, every time a module is added, it needs to be re-compiled.
In Windows, you can use the VC compiler or download the ready-made PHP. ini file to add and delete modules.
PHP supports fastcgi, which is implemented by php-cgi.exe. It uses Socket listening to accept new socket requests.
When FastCGI accepts the request, each time it receives a socket, it does not implement the socket connection processing!
Php-FMP is a FastCGI process management component, which is supported by the new version. It can achieve better FastCGI performance. In Windows, he uses the namedpipe named pipe to implement inter-process communication.
PHP installation
PHP. ini placement
1. Copy PHP. ini-development from the PHP Directory to c: \ windows \ PHP. ini.
2. Create a directory for PHP. ini in Apache.
PHP. ini configuration
Extension_dir = "C:/php5.4/EXT"
; Extension = php_mysql.dll
....
Remove the semicolon (;) and proceed as needed...
Xdebug Configuration
[Xdebug]
Zend_extension = C:/php5.4/EXT/php_xdebug-2.2.1-5.4-vc9.dll
Xdebug. profiler_enable = on
Xdebug. trace_output_dir = "../projects/xdebug"
Xdebug. profiler_output_dir = "../projects/xdebug"
Xdebug. remote_enable = on
Xdebug. remote_handler = dbgp
Xdebug. remote_host = localhost
Xdebug. remote_port = 9000
Fault tolerance handling:
Error_reporting = e_all &~ E_notice