I'm having trouble getting a new PHP/MySQl installation to work.
Windows XP Pro, IIS 5.1, PHP 5.1.1, MySQL 5.0.16, ISAPI
This is a new computer. The whole setup is for development use only -
no access from beyond my own network.
PHP seems to be working OK. I can open a test.php page ok - It
executes down to the statement where I try to connect to the MySQL
database. At that point, nothing further happens. The page is served
out. No errors are generated.
MySQL also seems to be working. I've installed MySQL Administrator
and, from what I can see, everything looks OK. I have a database - it
has tables in it - the tables have data in them - I can execute
queries against them. This database is a copy of one I developed on
another machine
FWIW, the MySQL extension is activated in the PHP.INI file thus:
extension=php_mysql.dll
Here's the beginning of the script in the test.php page:
--------------------------------------------------
Here we go!
<?php
echo("<br>Inside the php script!");
$conn=@mysql_connect( "localhost", "root", "admin" );
echo("<br>Connected to the database!");
$rs = @mysql_select_db( "crowdwisdom", $conn );
---------------------------------------------------
When this runs, the displayed page consists of:
Here we go!
Inside the php script!
Help?