php5/mysql mess until libmysql.dll copied to C:\WINDOWS
Posted by: Norwin Uy
Date: August 03, 2008 02:22PM

Got apache up and running and tried setting up php5 with mysql. php worked as I was able to read a generated phpinfo.php, but it would not communicate with mysql. phpinfo did not display mysql info as it does for other modules, and phpmyadmin and wordpress installs relayed similar mysql error messages. Yes extensions were uncommented in php.ini and extension_dir was set properly.

Finally, I was able to get it working by copying the libmysql.dll in the php folder to C:\WINDOWS.

I guess the reason for posting is now I'd like to know why C:\WINDOWS is involved? Surely this is unsafe/unrecommended? (BTW php is installed and reads php.ini in the C:\php\)

Fairly new to this so thanks for helping out.



Edited 1 time(s). Last edit at 08/03/2008 02:23PM by Norwin Uy.

Options: ReplyQuote


Subject
Views
Written By
Posted
php5/mysql mess until libmysql.dll copied to C:\WINDOWS
10847
August 03, 2008 02:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.