Apache2.2.x does not support php5.1.x solution

  
Recently installed apache server, found that apache2.2 can not be matched with php5.1.6, searched on the Internet, found some solutions, paste now As follows: 1. Download, install 2. If apache error message: The Apache service named reported the following error: >>> httpd.exe: Syntax error on line 115 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/PHP5/php5apache2.dll into server: \\xd5\\xd2\\xb2\\xbb\\xb5\\xbd\\xd6\\xb8\\xb6\\xa8\\xb5\\xc4\\xc4\\ Xa3\\xbf\\xe9\\xa1\\xa3 Currently apache2.2 does not support php5.1.x, there are two solutions: (1) Compile php5.1.x and Apache source packages under Windows, for newcomers It is more difficult. Http://www.php.net/manual/en/install.windows.building.php (2) Go to http://snap.php.net and download the php5.2.x Windows binary package and put the php5apache2_2 in the package. Copy the .dll file to the php5.1.x directory. Download address (can be downloaded right): http://www.discuz.net/attachment.php?aid=45910 Pay attention to this line LoadModule php5_module .../php5/php5apache2_2.dll3. If not, the following is the solution: Download http://www.phpv.net/php5apache2.dll-php5.1.x.rar and unzip it. There are three files. vcredist_x86.exe php5apache2.dll httpd.exe.manifest 1). Overwrite php5apache2.dll Your original PHP directory php5apache2.dll file. 2). Copy the httpd.exe.manifest file to the bin folder under your apache installation directory. 3). Double-click to run vcredist_x86.exe to install. (If you can't install it Vcredist_x86.exe, download a .NET framework 2 installed, of course, no need to install vcredist_x86.exe.) Restart apache2.24. If not, you can try several times, install apache.5 in a repair way, if there is a coconut not Bind to address 0.0.0.0.:80 no listening sockets available,shutting down Unable to open logs Error prompt, it may be that skype and other software occupies port 80, use netstat -a, netstat -na to look at the port Situation; also possible that: You have opened the apache, this error occurs when you open again, look at the process in httpd.exe is not a process to test whether the installation was successful.
Copyright © Windows knowledge All Rights Reserved