This is a discussion on unable to load dynamic library C:\php\ext\php_mysql.dll - procedurenot found within the alt.comp.lang.php forums, part of the PHP Programming Forums category; If you get the above error when trying to install/run PHP5 using Apache and Windows XP, I just thought ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
If you get the above error when trying to install/run PHP5 using Apache and Windows XP, I just thought i would let you know my experience. It took me many hours to figure this out, but it was not a problem with the php_mysql.dll file at all. It turns out I had an incompatible libmysql.dll file in my C:\windows\system32 folder. So, to make it work, i had to copy the libmysql.dll file given in the PHP distribution into C:\windows\system32. Well, just wanted to let you know my experience, hopefully this can help some one. -d |
|
|||
|
On Wed, 08 Sep 2004 06:32:12 GMT, Doug <dougd99@XXXXremovetheXearthlink.net>
wrote: >If you get the above error when trying to install/run PHP5 using Apache >and Windows XP, I just thought i would let you know my experience. It >took me many hours to figure this out, but it was not a problem with the >php_mysql.dll file at all. > >It turns out I had an incompatible libmysql.dll file in my >C:\windows\system32 folder. So, to make it work, i had to copy the >libmysql.dll file given in the PHP distribution into C:\windows\system32. > >Well, just wanted to let you know my experience, hopefully this can help >some one. Better would be to remove the DLL from the Windows system directory, and instead set PATH to include the path to the DLL. Dumping DLLs into the Windows system directory tends to lead to this sort of problem - better to keep the DLLs in user directories rather than dumping them into the operating system directories. -- Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk> <http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool |
|
|||
|
Andy Hassall wrote: > > Better would be to remove the DLL from the Windows system directory, and > instead set PATH to include the path to the DLL. > > Dumping DLLs into the Windows system directory tends to lead to this sort of > problem - better to keep the DLLs in user directories rather than dumping them > into the operating system directories. > I changed my path. Unfortunately, it kept picking up the libmysql.dll from C:\mysql\bin, even though C:\php is first in my path. -d |
|
|||
|
yes i had the same problem and the same solution solved it. thank you. apache 2.0/php 5/mysql 4.0.21-nt/windows xp sp2 -alex -- arshapro ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------ |
|
|||
|
Whatismore mySQL won't run if you don't copy this file 'libmysql.dll' bundled with PHP5 into your system32 directory. I understood this because I had *no* 'libmysql.dll' on this path. -- Fabrice G. Boyer -- Fabruccio ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------ |