php5 to php4

Problems with the Windows version of XAMPP, questions, comments, and anything related.

php5 to php4

Postby drageccc » 12. September 2007 20:26

Hello


I have one problem....

when i switch php5 to php4 my apache server runing 1 min end then stop.

what is wrong?

and with php5 works normal.

thx for help
drageccc
 
Posts: 2
Joined: 12. September 2007 20:20

Postby Izzy » 13. September 2007 02:38

I have just done the switch using the instructions in:
http://localhost/xampp/phpswitch.php

First I checked the version using:
http://localhost/xampp/phpinfo.php
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 page test.
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.
The phpinfo() 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 and XAMPPlite (DTX.exe)
http://nat32.com/dtx/
posted by ridgewood:
http://community.apachefriends.org/f/viewtopi ... 967#103967
Also available here: http://zedfiles.com/DTX/
I highly recommend DTX.
=================================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby drageccc » 13. September 2007 15:43

not works.

Switch php work's normal end change php5 to php4. when i go to my server (localhost) server shutdown.

in my error.log writes winnt_accept: Asynchronous AcceptEx failed.

then i switch php back to php5 and server work's normal.
drageccc
 
Posts: 2
Joined: 12. September 2007 20:20


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 121 guests