SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Jul 2008
    Posts
    190
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Apache unexpectedly shutting down - is this a problem with MySQL or PHP?

    Hi,
    I had a perfect working local server with Windows, Apache, PHP and MySQL. I recently wanted to upgrade and have been having problems ever since. The main problem I now have is that whenever I load up a page with a MySQL connection, the page will load for about 5 seconds before I get a message stating Apache has unexpectedly shutdown. A blank page will then load up.

    I have these installed:

    - Windows XP
    - Apache 2.2
    - PHP 5.2.9-2
    - MySQL 5.1.34

    There are no error messages in my log files for this. This is everything that exists for the last instance in which it shutdown:

    [Wed May 13 01:46:04 2009] [notice] Child 3568: Child process is running
    [Wed May 13 01:46:04 2009] [notice] Child 3568: Acquired the start mutex.
    [Wed May 13 01:46:04 2009] [notice] Child 3568: Starting 64 worker threads.
    [Wed May 13 01:46:04 2009] [notice] Child 3568: Starting thread to listen on port 8080.
    zend_mm_heap corrupted
    [Wed May 13 01:46:04 2009] [notice] Parent: child process exited with status 1 -- Restarting.
    [Wed May 13 01:46:04 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
    [Wed May 13 01:46:04 2009] [notice] Server built: Dec 10 2008 00:10:06
    [Wed May 13 01:46:04 2009] [notice] Parent: Created child process 3520
    [Wed May 13 01:46:04 2009] [notice] Child 3520: Child process is running
    [Wed May 13 01:46:04 2009] [notice] Child 3520: Acquired the start mutex.
    [Wed May 13 01:46:04 2009] [notice] Child 3520: Starting 64 worker threads.
    [Wed May 13 01:46:04 2009] [notice] Child 3520: Starting thread to listen on port 8080.

    What could be causing this? Is there anything I can try out?

    Thanks
    Russ

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,578
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by slaterino
    There are no error messages in my log files
    This is the error in your log:
    Quote Originally Posted by slaterino
    zend_mm_heap corrupted
    Are you using Zend Accelerator/Optimizer?

  3. #3
    SitePoint Wizard bronze trophy
    Join Date
    Jul 2008
    Posts
    5,757
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can adjust the LogLevel in httpd.conf to get more verbose output.

  4. #4
    SitePoint Zealot
    Join Date
    Jul 2008
    Posts
    190
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, I thinked it!

    I had read somewhere about copying the libmysql.dll into the 'bin' directory of my Apache install, or something similar to this. But anyway, I was looking through my directories to see if there was anything superfluous and saw this file was still there and so deleted it. And hey presto, it now works fine! I have no idea how these things work sometimes!

    Thanks for the suggestions though


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •