I have just done the switch using the instructions in:
First I checked the version using:
Which was version 5
And again after I made the conversion
Which reflected the change to version 4
I restated Apache and MySQL then ran it by testing all the menu items in the Welcome to XAMPP
page, (which runs mainly on php), without any problems and so can't reproduce your issue.
I had one minor issue running phpMyAdmin which showed an error telling me it could not load mcrypt
and to check the php.ini file.
In the xampp\apache\bin\php.ini
file the mcrypt
extension needed to be uncommented to enable mcrypt
When I uncommented it and restarted Apache and MySQL the error was no longer evident and phpMyAdmin and MySQL worked like a charm.
Don't load the php script that may be causing the problem and do the above Welcome to XAMPP
If all those test are successful then it would have to point to some other problem that is causing it and not to XAMPP, possibly a script you are testing it with perhaps.
The php Switch
page should give you the current version info.
page should give you all the php environment details for the version that is currently in use.
Maybe you have a related problem with the script that you are running.
Check the script's configuration settings for any version issues.
Also might be worth checking in the xampp\apache\logs\
for any clues at the time that Apache fails.
You will have to do some investigating now to try and ascertain what might be different in your XAMPP installation to my installation (which is always set to the defaults for testing purposes).
Take a look at the new DeskTopXampp
launch control for XAMPP
posted by ridgewood
http://community.apachefriends.org/f/viewtopi ... 967#103967
Also available here: http://zedfiles.com/DTX/
I highly recommend DTX.