note 58062 deleted from ref.mysql by jome
| From: | jome@php.net | Date: | Sun, 23 Oct 2005 09:03:06 +0000 |
| Subject: | note 58062 deleted from ref.mysql by jome | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97443@lists.php.net to get a copy of this message | ||
Note Submitter: adrian dot stutz at gmail dot com
Reason: already in docs
----
The problem with the old mysql extension (php_mysql.dll) and PHP5 is that it requires libmysql.dll,
which resides in the php root folder and can't be found by the extension.
One possibility is to add the php folder to the system variable path (and thus make all applications
look for dlls in there).
Another and IMHO more intuitive and easy solution is to simply copy the libmysql.dll from your php
folder to the windows directory (C:\WINDOWS or C:\WINNT). Since it's a standard place to look
for dlls, the mysql extension will be able to find the libmysql.dll there. This doesn't require
a reboot either.