Afficher un message
Vieux 28/03/2008, 14h37   #4
Anonymous
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Need with PHP + MySQL on W2k

"patrick@computerbrokers.com.sg" wrote:

> I have verified that the php.ini file loaded is the one I edited. Both
> "php -i" and phpinfo() show that the file loaded is "c:\winnt
> \php.ini". Anyway, I edited php.ini as you said, and now I got an
> error message that says the mysql_connect function is undefined. So,
> it confirmed my suspecion that php_mysql.dll is not loaded/recognized
> by IIS. It is just strange that "php -i" says it is loaded, but
> phpinfo() says it is not. Any other suggestion? Thanks.


Do you have an up to date libmysql.dll in your system path?

Because php_mysql.dll and php_mysqli.dll don't work without that. If you
did a full installation of the MySQL server in the deafult path you will
find that library in C:\Program Files\MySQL\MySQL Server 5.0\lib\opt\.

Either add that directory to your path or copy the dll to
C:\windows\system32\ or whatever the standard dll path is on your
Windows version.

Bye!
  Réponse avec citation
 
Page generated in 0,04368 seconds with 9 queries