Umschalten zwischen PHP-Versionen

If you encounter a migration project as part of a server move or PHP update and want to update a website written using PHP4 syntax so that it works in a PHP5 environment, it can be helpful to be able to switch between PHP4 and PHP5.

This can be done in the local XAMPP development environment, version 1.6 (e.g. 1.6.8), using the switch.bat batch file included in the main directory (stop the Apache server, run switch.bat and change the PHP version, restart the Apache server, and you're done).

... back to the blog