Home  >  Article  >  Backend Development  >  PHP and APACHE configuration error

PHP and APACHE configuration error

WBOY
WBOYOriginal
2016-08-04 09:21:571221browse

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ㄒ)/~~

Reply content:

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ㄒ)/~~

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn