MySQL Forums
Forum List  »  PHP

Re: Coneection problem between PHP 5.0 and Mysql 4.1.11.
Posted by: Simon Cornelius P. Umacob
Date: May 16, 2005 06:27AM

Hmm... I've also experienced this problem a few months ago. This was addressed in the PHP 4.x documentation, although the solution wasn't generic. It's a problem specific to Windows NT/XP because Apache and/or PHP will look for the libraries in the wrong locations. There's a tool (I think it's free) that will aid you to determine which locations they will look for, although unfortunately, I forgot what name it is. I used a tool bundled with Visual Studio 6.0 because I no longer had time to download it (or maybe it wasn't free? I dunno). I also forgot its name... I think it was Trace or something. Anyway, I solved my problem by copying libmysql.dll, php5apache2.dll, php5ts.dll, and php_mysql.dll to C:\WINDOWS.

Interestingly though, I didn't encounter this problem when I installed PHP 5.0 and MySQL Distrib 5.0.4-beta on this PC a few hours ago. Just make sure to properly configure httpd.conf and php.ini.

[ simon.cpu ]

Options: ReplyQuote


Subject
Written By
Posted
Re: Coneection problem between PHP 5.0 and Mysql 4.1.11.
May 16, 2005 06:27AM


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.