[resolved] HTTPD Exception when connecting to MySQL (4 posts)

  1. robert.sammut
    Posted 6 years ago #

    Hello world,

    I have been trying to install WordPress on my PC so that I can play around with the blog before publishing to the production website. However, I had no luck when connecting PHP with MySQL.

    Whenever wp-db.php calls the @mysql_connect function I am getting the following error: "An unhandled win32 exception occurred in httpd.exe"

    The Apache error log contains nothing related to the error:
    [Sat Jan 31 15:26:47 2009] [notice] Parent: child process exited with status 0 -- Restarting.
    [Sat Jan 31 15:26:48 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
    [Sat Jan 31 15:26:48 2009] [notice] Server built: Dec 10 2008 00:10:06
    [Sat Jan 31 15:26:48 2009] [notice] Parent: Created child process 1720
    [Sat Jan 31 15:26:48 2009] [notice] Child 1720: Child process is running
    [Sat Jan 31 15:26:48 2009] [notice] Child 1720: Acquired the start mutex.
    [Sat Jan 31 15:26:48 2009] [notice] Child 1720: Starting 64 worker threads.
    [Sat Jan 31 15:26:48 2009] [notice] Child 1720: Starting thread to listen on port 80.

    The MySQL extension for PHP is enabled in the php.ini file and the login credentials are correct because I have checked and tested them many times.

    I have the following configuration:
    OS: Win XP,
    PHP: 5,
    MySQL: 5.1,
    WordPress 2.7,
    and Apache: 2.2

    Please help.

    Thanks a lot,

  2. Samuel B
    Posted 6 years ago #

    I've done many local installs using the following guide

  3. MichaelH
    Posted 6 years ago #

  4. robert.sammut
    Posted 6 years ago #

    Hello again,

    Having been googling for the whole day trying to solve the problem, I've decided to uninstall PHP, MySQL and Apache and install everything again with Xampp.

    I've installed everything in a few minutes and everything went fine.

    Thanks a lot samboll for the suggestion.

Topic Closed

This topic has been closed to new replies.

About this Topic