Jump to content

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.d


Recommended Posts

I keep getting the error:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - The specified module could not be found. in Unknown on line 0

I was experiencing mysql_connect problems so I went to wildteen88's FAQ on how to fix it. It got rid of the "Call to Undefined Function" problem but another one came behind it. Does anyone know where I can get this php_mysql.dll file? Thanks in advance :)!
Link to comment
Share on other sites

It comes with PHP. It should be located in the extension folder (ext) when you install PHP. PHP may be finding this module but cant find the libmysql.dll which it needs in able to load the module correctly. libmysql.dll should be located in the root of the PHP folder.

Could you post me information about your PHP setup.
Link to comment
Share on other sites

Yeah, redownload PHP (make sure you download the zipped binaries, eg [url=http://www.php.net/get/php-5.2.0-Win32.zip/from/a/mirror]PHP 5.2.0 zip package[/url])

Extract the contents to C:/php overwriting existing files/folders.

Do not move any files/folders from the PHP folder. Keep them where they are.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.