How to configure PHP support for MySQL on Windows?
| From: | Sean B. Durkin | Date: | Mon, 23 Jul 2007 05:10:20 +0000 |
| Subject: | How to configure PHP support for MySQL on Windows? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-28227@lists.php.net to get a copy of this message | ||
Hi,
How does one configure PHP support for MySQL on Windows?
My host operating system is Windows Server 2003.
1. I have installed Apache 2.2 via the msi installer
(apache_2.2.4-win32-x86-no_ssl.msi).
2. I have installed MySQL 5.1 via the windows installer
(mysql-5.1.20-bet-win32.zip).
3. I have installed PHP 5 via the msi installer
(php-5.2.3-win32-installer.msi)
4. I have enabled the php_mysql.dll extension inside of php.ini
5. I have ensured that libmysql.dll in on the system path.
I have done all of this correctly, but I still cannot open
a database from php script! What am I doing wrong? Can any one
please advise?
Please help a PHP/MySQL newbie.
Faithfully,
Sean B. Durkin
(s.durkin@{removeThis}gridsense.net