Unable to load php_mysql.dll
Posted: Thu Jul 28, 2005 3:07 am
Hi
Today when starting my computer php notified me that it was unable to load php_mysql.dll. I checked the extension dir in php.ini, and everything seems to be okey. It points to the directory where the extensions resides. Yesterday I removed the php directory from my PATH variable, but reintroducing it today didn't fix my problem.
Any help is appreciated...
[EDIT]: After doing some research I found that Apache probably is the problem. For some reasen it doesn't seem to discover edits to the PATH variable (I'm running Apache/1.3.31 (Win32))... When doing php_info() and looking into the Apache-enviroment section I found that even though I had c:\php5 in my PATH it didn't show up here. (Yes, I did restart Apache
) As a consequence libmysql.dll (which php_mysql.dll is dependent upon) didn't get loaded. So I copied it into my system32 folder, and this corrected the problem.
[EDIT]: Well, after restarting my computer the path registered by Apache again contains the php directory..
regards tores
Today when starting my computer php notified me that it was unable to load php_mysql.dll. I checked the extension dir in php.ini, and everything seems to be okey. It points to the directory where the extensions resides. Yesterday I removed the php directory from my PATH variable, but reintroducing it today didn't fix my problem.
Any help is appreciated...
[EDIT]: After doing some research I found that Apache probably is the problem. For some reasen it doesn't seem to discover edits to the PATH variable (I'm running Apache/1.3.31 (Win32))... When doing php_info() and looking into the Apache-enviroment section I found that even though I had c:\php5 in my PATH it didn't show up here. (Yes, I did restart Apache
[EDIT]: Well, after restarting my computer the path registered by Apache again contains the php directory..
regards tores