SoFunction
Updated on 2025-04-12

PHP is used as a configuration for CGI and module respectively

php: PHP Version 5.0.0b4
apache: Apache/2.0.49 (Win32)
1. Run as cgi
2. Run as a module
1. Run as aache2 cgi

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/"
The above code is added to

2. Run as aache module

LoadModule php5_module "c:/php/sapi/"
AddType application/x-httpd-php .php
The above code is added to