• Resolved robert.sammut

    (@robertsammut)


    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,
    Rob

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTTPD Exception when connecting to MySQL’ is closed to new replies.