Apache keeps on crashing during installation

Having trouble installing serendipity?
Post Reply
ruchida
Posts: 1
Joined: Wed Feb 22, 2006 12:48 am

Apache keeps on crashing during installation

Post by ruchida »

Serendipity 0.9.1 (or 1.0 beta also) makes Apache crash. Any help would be appreciated. PHP 4.4.1 and MySQL 4.1.12 on Windows XP SP2.

--- Apache error log ---
[Wed Feb 22 08:36:35 2006] [notice] Apache/2.0.54 (Win32) PHP/4.4.1 configured -- resuming normal operations
[Wed Feb 22 08:36:35 2006] [notice] Server built: Apr 16 2005 14:25:31
[Wed Feb 22 08:36:35 2006] [notice] Parent: Created child process 4864
[Wed Feb 22 08:36:36 2006] [notice] Disabled use of AcceptEx() WinSock2 API
[Wed Feb 22 08:36:36 2006] [notice] Child 4864: Child process is running
[Wed Feb 22 08:36:36 2006] [notice] Child 4864: Acquired the start mutex.
[Wed Feb 22 08:36:36 2006] [notice] Child 4864: Starting 250 worker threads.
[Wed Feb 22 08:36:36 2006] [notice] Child 4864: Listening on port 80.
[Wed Feb 22 08:44:19 2006] [error] [client 127.0.0.1] File does not exist: D:/Apache Group/Apache2/htdocs/serendipity/serendipity_admin.phpnonexistant
[Wed Feb 22 08:44:30 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Wed Feb 22 08:44:30 2006] [notice] Apache/2.0.54 (Win32) PHP/4.4.1 configured -- resuming normal operations
[Wed Feb 22 08:44:30 2006] [notice] Server built: Apr 16 2005 14:25:31
[Wed Feb 22 08:44:30 2006] [notice] Parent: Created child process 4560
[Wed Feb 22 08:44:31 2006] [notice] Disabled use of AcceptEx() WinSock2 API
[Wed Feb 22 08:44:31 2006] [notice] Child 4560: Child process is running
[Wed Feb 22 08:44:31 2006] [notice] Child 4560: Acquired the start mutex.
[Wed Feb 22 08:44:31 2006] [notice] Child 4560: Starting 250 worker threads.
[Wed Feb 22 08:44:31 2006] [notice] Child 4560: Listening on port 80.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Apache keeps on crashing during installation

Post by garvinhicking »

It is not Serendipity that is crashing your Apache, it is PHP.
PHP applications cannot crash Apache, only PHP itself can do that, so this is actually not related to Serendipity...

You cannot use Apache2 with a multithreaded environment and PHP. You need to use the prefork method, this is also documented in most Apache2+PHP install guides. PHP is not thread-safe, and what you are experiencing are the effects of not being thread-safe. :-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply