Re: Unable to load dynamic library
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Unable to load dynamic library

From: Peter van Schie <vanschie.peter@gmail.com>
Date: Fri Mar 31 2006 - 23:09:58 CEST

Nikola Skoric wrote:

> When I try to connect to mysql, I get:
> Fatal error: Call to undefined function mysql_connect() in D:\www\kviz
> \scripts\data_connect.php on line 3
> 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
>
> BUT, the interesting thing is that in my C:\PHP\ext there exists
> php_mysql.dll. Sooo, why can't PHP load it?

Hi Nikola,

Is libmysql.dll also in the searchpath? You could test if that's the
problem by copying libmysql.dll to the Windows folder and restart the
webserver.

HTH.

Peter.

-- 
http://www.phpforums.nl
Received on Mon May 1 02:45:56 2006