Unable to load module

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I have just reintalled my computer and with that; PHP.

But.. I keep getting the error:
PHP Startup: Unable to load dynamic library 'C:\PHP\modules\php_mysql.dll' -
The specified module could not be found.

I have installed PH 5.0.2 on a XP-SP2-box with IIS.
PHP works fine (if I uncomment the php_mysql.dll-line in

The file IS located in the directory. -And for testing purposes I have
copied the file to %systemroot%\system32 as well, but with same result :-(

Any suggestions?

Thanks in advance,


Re: Unable to load module

if everything works with the line uncommented... leave it uncommented,
it should allow you to use all of the mysql functions...  if not, check
your php.ini entry for the extension modules entry and make sure the
file is within the directory listed there...

Re: Unable to load module

I am newly download the PHP5, and mysql 4.1; and copy the few
extensions, like php_mysql.dll into the windows folder, and uncommented
the extension in the php.ini file.  When I wrote the testiing program,
the browser shows the following error message:

*Fatal error*: Call to undefined function mysql_connect() in *C:\Program
Files\Apache Group\Apache2\htdocs\Testing.php* on line *14

Can you help me for this incidence?  Thanks.


David Chan

adam@adamcoppin.com wrote:

Quoted text here. Click to load it

Site Timeline