PHP Switch 1.0 win32 for XAMPP

 
  Current PHP version in THIS XAMPP is PHP 5.2.6  
  What is the PHP switch?
The apachefriends PHP Switch is for switching XAMPP between the PHP version 4, version 5, AND (!) back. So you can test your scripts with PHP 4 or PHP 5.

 
  Where is the PHP Switch?
PHP Switch for XAMPP will execute a PHP file (XAMPP install folder) with the name "php-switch.php". You should use this batch file for executing:

=> C:\xampp\php-switch.bat <=

 
   
     
  What can go wrong?
PHP Switch will not change your PHP version, when a) the Apache HTTPD is running or/and b) the ".phpversion" file in the install folder is vacant or has a bug. In the ".phpversion", there was written the XAMPP current main PHP version number like "4" or "5". Please beginn with a "shutdown" for the Apache HTTPD and THEN execute the "php-switch.bat".

 
  After that, where can I locate my (old) config files?

For PHP 4:
C:\xampp\php\php4\php4.ini
C:\xampp\php\php4\httpd4.conf

For PHP 5:
C:\xampp\php\php5.ini
C:\xampp\php\httpd5.conf

 
  What is with changes in my config files?

There lives! For PHP4 or PHP5 in the
C:\xampp\apache\bin\php.ini
C:\xampp\apache\bin\httpd.conf


.. secured for PHP4 ...
C:\xampp\php\php4\php4.ini
C:\xampp\php\php4\httpd4.conf

.. secured for PHP5 ...
C:\xampp\php\php5.ini
C:\xampp\php\httpd5.conf

And these files are going back with the PHP switching!!

 
  My PHP is okay AND i will NOT a "switch" !!!
Super! Then forget this here ... ;-)
 
 


ApacheFriends 2002-2006