|
Posted by Alan Silver on July 16, 2008, 12:25 pm
Please log in for more thread options In article
>You should read the manual here:
>
>http://uk.php.net/manual/en/mysql.installation.php
Read it several times...
>Note this bit:
>
>"MySQL is no longer enabled by default, so the php_mysql.dll DLL must
>be enabled inside of php.ini.
As noted in my original post, this was done
> Also, PHP needs access to the MySQL
>client library. A file named libmysql.dll is included in the Windows
>PHP distribution and in order for PHP to talk to MySQL this file needs
>to be available to the Windows systems PATH. See the FAQ titled "How
>do I add my PHP directory to the PATH on Windows" for information on
>how to do this. Although copying libmysql.dll to the Windows system
>directory also works (because the system directory is by default in
>the system's PATH), it's not recommended."
Ah, I added the ext folder to the PATH variable, but didn't spot that I
needed to add the PHP installation folder as well.
Seems to work now. Thanks a lot
--
Alan Silver
(anything added below this line is nothing to do with me)
|