You may have your error messages turned off. Add the following code to
the top of your script to see if you get an error message that provides
some info about what is happening.
error_reporting(E_ALL);
ini_set("display_errors",1);
Janet
Sean B. Durkin wrote:
Janet,
See my response to Vikas' message below.
Faithfully,
Sean B. Durkin
Janet Valade wrote:
Sean B. Durkin wrote:
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?
What error message do you get?
Janet
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