How can I upgrade my version of PHP for XAMPP

Possible duplicate:
Updating PHP in XAMPP for Windows?

I am currently using XAMPP version 1.8.1, which has PHPversion 5.4.3

I found the latest version of PHP with PHP version 5.4.11 released a day ago.

Now, if I download the latest version of PHP from php.net and replace my current PHP directory with the latest, will it work correctly / right away?

thanks

+8
php xampp
source share
1 answer
  • Download the latest binary version of PHP 5.4.11 (make sure the .zip package is not an installer)
  • De-archive to directory
  • Copy the contents of the directory to the php subfolder of your XAMPP installation directory, overwriting existing files
  • Overwrite files that are already present in the apache \ bin directory with newer versions.
  • Now the trick: take the files with the name "_2" in their names (for example, php5apache2_2.dll or php5apache2_2_filter.dll), copy them to the apache \ bin subdirectory and delete "_2", overwriting the existing files. This is necessary because XAMPP uses Apache version 2.2, and files with a prefix of 2 are created for Apache 2.0, so you must compile the files for a newer version (which has a different plugin interface) and rename them in the file names that XAMPP expects.

Hope this helps.

+5
source share

All Articles