Win2000 php4 problem with httpd.exe in WAMP 1.7.2
Posted by: norminator (---.dsl.wotnoh.ameritech.net)
Date: June 26, 2007 11:03PM

I'm new to WAMP (I've used XAMPP in the past). I'm still using Windows 2000 sp4, so I've already read about inserting "Win32DisableAcceptEx" into httpd.conf file. That seems to have fixed the issue with PHP5.

I also installed the PHP4.4.7 ADD-ON for WAMP5 1.7.2 because my hosting service still uses PHP4 and I wanted a test bed machine that at least somewhat closely matched the hosting service. However, I can't get php4 to work at all.

If I switch to PHP4 and try to go to localhost, I get "httpd.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created."

The apache error log has listed in it (after switch to PHP4):

[Tue Jun 26 16:46:03 2007] [notice] Apache/2.2.4 (Win32) PHP/4.4.6 configured -- resuming normal operations
[Tue Jun 26 16:46:03 2007] [notice] Server built: Jan 9 2007 23:17:20
[Tue Jun 26 16:46:03 2007] [notice] Parent: Created child process 2936
[Tue Jun 26 16:46:04 2007] [notice] Disabled use of AcceptEx() WinSock2 API
[Tue Jun 26 16:46:04 2007] [notice] Child 2936: Child process is running
[Tue Jun 26 16:46:04 2007] [notice] Child 2936: Acquired the start mutex.
[Tue Jun 26 16:46:04 2007] [notice] Child 2936: Starting 250 worker threads.
[Tue Jun 26 16:46:04 2007] [notice] Child 2936: Listening on port 80.
[Tue Jun 26 16:46:52 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Tue Jun 26 16:46:53 2007] [notice] Apache/2.2.4 (Win32) PHP/4.4.6 configured -- resuming normal operations
[Tue Jun 26 16:46:53 2007] [notice] Server built: Jan 9 2007 23:17:20
[Tue Jun 26 16:46:53 2007] [notice] Parent: Created child process 2980
[Tue Jun 26 16:46:53 2007] [notice] Disabled use of AcceptEx() WinSock2 API
[Tue Jun 26 16:46:53 2007] [notice] Child 2980: Child process is running
[Tue Jun 26 16:46:53 2007] [notice] Child 2980: Acquired the start mutex.
[Tue Jun 26 16:46:53 2007] [notice] Child 2980: Starting 250 worker threads.
[Tue Jun 26 16:46:54 2007] [notice] Child 2980: Listening on port 80.

I tried to go to localhost in firefox at the 16:46:52 mark which is when I get the rror, so I assume the Parent child process exited with status 3221225477 may be significant. But I don't know how to go about fixing it.

In the PHP error log I'm seeing a lot of errors when I'm using ph4.

Here is a small example: [26-Jun-2007 16:46:53] PHP Warning: mbstring: Unable to register functions, unable to load in Unknown on line 0
[26-Jun-2007 16:46:53] PHP Warning: Function registration failed - duplicate name - mb_convert_case in Unknown on line 0
[26-Jun-2007 16:46:53] PHP Warning: Function registration failed - duplicate name - mb_strtoupper in Unknown on line 0
[26-Jun-2007 16:46:53] PHP Warning: Function registration failed - duplicate name - mb_strtolower in Unknown on line 0
[26-Jun-2007 16:46:53] PHP Warning: Function registration failed - duplicate name - mb_language in Unknown on line 0
[26-Jun-2007 16:46:53] PHP Warning: Function registration failed - duplicate name - mb_internal_encoding in Unknown on line 0
[26-Jun-2007 16:46:53] PHP Warning: Function registration failed - duplicate name - mb_http_input in Unknown on line 0
[26-Jun-2007 16:46:53] PHP Warning: Function registration failed - duplicate name - mb_http_output in Unknown on line 0
[26-Jun-2007 16:46:53] PHP Warning: Function registration failed - duplicate name - mb_detect_order in Unknown on line 0
[26-Jun-2007 16:46:53] PHP Warning: Function registration failed - duplicate name - mb_substitute_character in Unknown on line 0

Thank you for any help anyone can give. If I can offer more info please let me know what else you need to know. Thanks!


Options: ReplyQuote
Re: Win2000 php4 problem with httpd.exe in WAMP 1.7.2
Posted by: GreggShort (---.chi01.dsl-w.verizon.net)
Date: July 27, 2007 06:42AM

Based on a similar error I was getting, I found that the php.ini file had somehow been appended to itself. ie there were two copies of the same thing in the file. Look for the [PHP] tag for the start of the second copy.

Options: ReplyQuote


Sorry, only registered users may post in this forum.