How to configure PHP support for MySQL on Windows?

How to configure PHP support for MySQL on Windows?

am 23.07.2007 07:10:20 von Unknown

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

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: How to configure PHP support for MySQL on Windows?

am 30.07.2007 05:25:52 von Mark Abrams

http://apache2triad.net/

There is a windows version - its a simple install - just provide a password
and the package installs and configs - I'm running it on Server 2003 and Win
XP - no problems.

I did have a problem with a Vista install. Unsuccessful.



""Sean B. Durkin"" wrote in message
news:21.C3.09961.CC734A64@pb1.pair.com...
> 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

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php