Apache cannot start
In the following two lines, Apache cannot be started?
Loadmodule php5_module modules/php5apache2. dll
Addtype application/X-httpd-PHP. php
After testing for N for a long time, I finally found the problem because of the different Apache versions, loadmodule?Php5_module modules/php5apache2. dllThis sectionCodeThe configuration is slightly different, and the error lies in this Code,
You shouldLoadmodule php5_module modules/php5apache2. dllInPhp5apache2. dllModifyPhp5apache2_2.dll,
Because the apache version you are using is 2.2, you need to change it so that the correct configuration is as follows: if your PHP Directory is C:/PHP, if the following is the correct Configuration:Loadmodule php5_module "C:/PHP/php5apache2_2.dll"
Addtype application/X-httpd-PHP. php
Can you check my configuration to start it successfully?
Loadmodule php5_module "F:/serv/PHP/php5apache2_2.dll"
Addtype application/X-httpd-PHP. php