Cannot get PHP and MySQL working
Ok I obviously need a magician and not a scientist here.
I have installed Apache 2.0.50, PHP 5.1.2 (which work fine together) and MySQL 4.1.8. However no matter what I do I can not get PHP to recognise MySQL.
I have scoured the PHP and MYSQL forums and followed all the advice:
1. I have downloaded the latest MySQL Connector/PHP for MySQL 4.1.18
and followed the instructions, placing the php_*.dll files into my PHP extension directory (C:\PHP\extensions) and the libmysql.dll to my PHP directory.
2. I have activated the extension=php_mysql.dll and the extension=php_mysqli.dll, and configured the extensions directory path (C:\PHP\extensions) in php.ini.
3. I have placed the C:\PHP and C:\PHP\etension paths in the path variable and re-booted.
4. I have even tried copying php.ini into the Windows directory and libmysql.dll to WINDOWS\System32.
All to no avail.
If anyone has a clue about what's going on I would be eternally grateful.
Subject
Written By
Posted
Cannot get PHP and MySQL working
February 15, 2006 03:58PM
February 15, 2006 11:54PM
February 16, 2006 03:58PM
February 26, 2006 09:43AM
February 26, 2006 11:28AM
February 26, 2006 11:41AM
February 27, 2006 09:17AM
February 28, 2006 03:55PM
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.