

The phpForApache.ini is the php config used by Apache. running php from the command line > php script.php The php.ini file is used if you are using the PHP CLI i.e.
PHP 5.2 DOWNLOAD PLUS
You should now have the original file called php.ini_development PLUS 2 more, one called php.ini and one called phpForApache.ini Now in your new folder copy the file php.ini_development into a new file called php.iniĭo the same again but paste into a file called phpForApache.ini Now unzip the downloaded PHP into your new folder, make sure the folder hierarchy looks like this.Ħ. The file contains references to the names of the dll files that contain the PHP interpreter, so that the correct file can be copied to the Apache folder when you activate this new version of the PHP interpreter.ĥ. This file is required by wamp server to properly identify that this is a valid PHP version folder. Now from the folder containing your most recent ( and working ) verions of PHP copy the file called nf and paste it into your new PHP folder created in the previous setp. So make a folder called php5.5.11 for example.Ĥ.

Create a new folder under c:\wamp\bin\php\ with the name = the version you are installing Make sure its built with the same compiler versions as you Apache ( VC6 or VC9 )ģ.
PHP 5.2 DOWNLOAD INSTALL
Download the PHP Release you want to install from You should use the Thread Safe build. not communication via a TCP port like PHP and MySQL, so they both have to have been compiled using the same version of Microsoft Visual C Compiler.Ģ.

The way PHP and Apache interact in the default WAMPServer install is that Apache launches the PHP Interpereter as a dll (php5apachex_y.dll) as this is a very close relationship i.e. So first you must find out which compiler was used to compile the Apache you are currently using, so you can get the PHP that was compiled with the same version of the compiler. Unfortunately you cannot mix the two when it comes to Apache and PHP. It stands for Visual C V6 or Visual C V9. This denotes the compiler version used to compile that program or dll. On Apache and PHP you will see the acronym VC6 and VC9. No you will have to do that one manually.īeware that you may need to install an old apache as well as you will need an apache compiled with VC6 as php 5.2.17 will almost definitely have been compiled with that.
