Home > Article > Backend Development > PHP and APACHE configuration error
The error is as shown above: Cannot load C:/php_5.6/php5apache2_4.dll into server
httpd.conf configuration related codes are as follows:
<code>LoadModule php5_module "C:/php_5.6/php5apache2_4.dll" PHPIniDir "C:/php_5.6" LoadFile "C:/php_5.6/ssleay32.dll" LoadFile "C:/php_5.6/libeay32.dll"</code>
I checked the path many times and there is no problem. I don’t know why I keep getting errors/(ㄒoㄒ)/~~
The error is as shown above: Cannot load C:/php_5.6/php5apache2_4.dll into server
httpd.conf configuration related codes are as follows:
<code>LoadModule php5_module "C:/php_5.6/php5apache2_4.dll" PHPIniDir "C:/php_5.6" LoadFile "C:/php_5.6/ssleay32.dll" LoadFile "C:/php_5.6/libeay32.dll"</code>
I checked the path many times and there is no problem. I don’t know why I keep getting errors/(ㄒoㄒ)/~~
Check whether your php version is correct. It is recommended to use integration directly.
Generally there are two possibilities. The php and apache versions are inconsistent, one is 32 and one is 64 or nts. The second one is lack of c++ runtime library.
Exclude it yourself
Check if the VC runtime library is missing