note 81605 deleted from install.windows.apache2 by nlopess
| From: | nlopess@php.net | Date: | Thu, 06 Mar 2008 19:21:37 +0000 |
| Subject: | note 81605 deleted from install.windows.apache2 by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-136801@lists.php.net to get a copy of this message | ||
Note Submitter: scott
Reason: in docs
----
If you're having problems getting the mysql module to load with PHP under Apache, try
explicitly telling Apache where to find libmysql.dll.
Do this by adding a line to httpd.conf:
LoadFile "C:/PHP/libmysql.dll"
(replacing c:/PHP with whatever your install path of course)
Make sure this comes before the LoadModule for the php dll.
The reason for this is that the version of libmysql.dll loaded by Apache must be the one compiled
with php.
Thanks to Sander for this tip (http://www.temme.net/sander/2007/06/)