According to the xampp, PHP Switch page.
Have a look at it
===============================================
PHP Switch 1.0 win32 for XAMPP
Current in THIS XAMPP is PHP 5.0.5
What make the PHP switch?
The apachefriends PHP Switch for XAMPP switching between the PHP version 4 to 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:\Program Files\xampp\php-switch.bat <=
What can be difficult?
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 have 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 are my (old) config files?
For PHP 4:
C:\Program Files\xampp\php\php4\php4.ini
C:\Program Files\xampp\php\php4\httpd4.conf
For PHP 5:
C:\Program Files\xampp\php\php5.ini
C:\Program Files\xampp\php\httpd5.conf
What is with changes in my config files?
There lives! For PHP4 or PHP5 in the
C:\Program Files\xampp\apache\bin\php.ini
C:\Program Files\xampp\apache\bin\httpd.conf
.. secured for PHP4 ...
C:\Program Files\xampp\php\php4\php4.ini
C:\Program Files\xampp\php\php4\httpd4.conf
.. secured for PHP5 ...
C:\Program Files\xampp\php\php5.ini
C:\Program Files\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-2004