Support » Installing WordPress » PHP5 and MySQL

  • I am trying to install wordpress locally on Windows XP + Apache 2.0.55 + PHP 5.1.1. MySQL is built into this version of PHP (i.e doesn;t require an extension directive in php.ini) but i get the error:

    ‘Your PHP installation appears to be missing the MySQL which is required for WordPress.’

    in wp-config.php, I am connecting to a remote mysql server – can i do that? Is PHP5 supported?

    thanks,

    lukemack.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The error message doesn’t mean anything about your MySQL connection, it means that PHP doesn’t have support for MySQL at all.

    I’d suggest re-running your installation of PHP and look for any ‘advanced’ or ‘custom’ options.

    5.1.1 still needs the MySQL stuff added in – I just set up the exact same configuration to you on my laptop yesterday after rebuilding it. Uncomment the extension=php_mysql.dll line in php.ini and make sure the php_mysql.dll is accessible – I had to copy it into my base PHP directory cus I couldn’t convince the extension directory switch to work, and of course add my base PHP directory to the Windows path (and reboot for it to take effect).

    Thread Starter Luke Mackenzie

    (@lukemack)

    thanks for your reply karrde. i dont understand why it doesn’t find the mysql dll but does find the others being loaded, or why adding c:\php to the path works. do you? anyway, it fixed the problem – thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP5 and MySQL’ is closed to new replies.