So your mysql.so php extention isn't beeing loaded
do you have libmysql.dll in windows PATH ?
----- Original Message -----
From: "Dinesh Kumar" <dinesh@stripped>
To: "Tobin Cataldo" <tcataldo@stripped>
Cc: <win32@stripped>
Sent: Tuesday, February 13, 2007 5:34 AM
Subject: Re: No output after mysql_connect
> Hi
> I have checked the web server log. It contains following error:
>
> [Tue Feb 13 10:54:57 2007] [error] [client 172.16.16.50] PHP
> Fatal error: Call to undefined function mysql_connect() in C:\\Program
> Files\\Apache Software Foundation\\Apache2.2\\htdocs\\index.php on line 5,
> referer: http://172.16.16.50/
>
> Dinesh
> ----- Original Message -----
> From: "Tobin Cataldo" <tcataldo@stripped>
>
>> This is probably not a MySQL issue...
>> Set your error.log in your php.ini. If you have already set that then the
>> error should show up there. Also check the web server log for errors.
> ----------------------------------------------------------------------
>> <?php
>> echo 'Hello World';
>> $con = mysql_connect('localhost', 'dinesh', 'dinesh');
>> if (!$con)
>> {
>> die('Could not connect: ' . mysql_error());
>> }
>> echo 'connected';
>> ?>
>> ------------------------------------------------------------------------
>
>
> --
> MySQL Windows Mailing List
> For list archives: http://lists.mysql.com/win32
> To unsubscribe:
> http://lists.mysql.com/win32?unsub=1
>
>