To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
did you copy the correct .dll file accross? There's one called php_mysql.dll and one called php_mysqli.dll, you need the first one. This caught me out at first
__________________
If at first it doesn't work, slap it with a dirty hack.
Moral of the week: Never let a moral of the week go on for more than a week, it's even sillier than feeding the admins.
Originally posted by bubblenut did you copy the correct .dll file accross? There's one called php_mysql.dll and one called php_mysqli.dll, you need the first one. This caught me out at first
No, you need to copy the dlls there as well, or to the directory where the php executable is (the directory in which you installed php5) although I think the second option only works if you're running php5 as a cgi, not sure though, you'll have to test.
Quote:
Some extra DLLs are required for some PHP extensions. Please copy the
bundled dlls from the 'dlls/' directory in distribution package to your
windows/system (Win9.x) or winnt/system32 (WinNT, Win2000, XP) directory.
If you already have these DLLs installed on your system,
overwrite them only if something is not working correctly.
Before overwriting them, it is a good idea to backup them or move them to
another folder - just in case something goes wrong.
__________________
If at first it doesn't work, slap it with a dirty hack.
Moral of the week: Never let a moral of the week go on for more than a week, it's even sillier than feeding the admins.
Originally posted by bubblenut No, you need to copy the dlls there as well, or to the directory where the php executable is (the directory in which you installed php5) although I think the second option only works if you're running php5 as a cgi, not sure though, you'll have to test.
Please copy the
bundled dlls from the 'dlls/'
-> there is no dlls/ dir !!! this is the pb.. and without myql lib it works..I can load curl lib, gd...
Just try copying them into your windows system folder. What's the worst that could happen (don't let the Dr Pepper advert's affect your better judgement here )
__________________
If at first it doesn't work, slap it with a dirty hack.
Moral of the week: Never let a moral of the week go on for more than a week, it's even sillier than feeding the admins.
I did watever should be done, but when i restart my apache2 it prompt an warning box said "PHP startup: Unable to load dynamic library 'D:\php5\ext\php_mysql.dll' - The specified module could not be found". Does anyone know wat is the problem???
first , my php is installed in the directory : D:\php5\
open the php.ini and set extensions_dir = D:/php5/ext
then ,in the directory D:\php5\ ,there is a dll file called libmysql.dll,copy that file to your system directory,my OS is win2000 and i copy that file to c:\winnt\system32