PHP/MySQL Problem

PHP/MySQL Problem

am 18.10.2007 02:23:38 von David Sudlow

Hi guys,

I'm using IIS on Vista Ultimate. I installed PHP just fine but I can't get
MySQL to work with it, I keep getting the same error:

....call to undefined function mysql_connect()

Here is what I've done to no avail:

in php.ini:
extension_dir = "ext"
extension=php_mysql.dll

copied libmysql.dll to windows/system32

I don't know what else to try, maybe I have to set something in IIS ? I'm
using the ISAPI version of PHP.

Please help.

Re: PHP/MySQL Problem

am 18.10.2007 02:59:08 von David Sudlow

After creating a new virtual site, restarting IIS and the computer all I get
is a blank page when I try the mysql_connect() function. When I view the
source everything is cut off below .

I think it was better before, at least I knew PHP couldn't find the
function, now I don't know what the hell is going on.


"Robert A." wrote in message
news:edEph0REIHA.6120@TK2MSFTNGP05.phx.gbl...
> Hi guys,
>
> I'm using IIS on Vista Ultimate. I installed PHP just fine but I can't get
> MySQL to work with it, I keep getting the same error:
>
> ...call to undefined function mysql_connect()
>
> Here is what I've done to no avail:
>
> in php.ini:
> extension_dir = "ext"
> extension=php_mysql.dll
>
> copied libmysql.dll to windows/system32
>
> I don't know what else to try, maybe I have to set something in IIS ? I'm
> using the ISAPI version of PHP.
>
> Please help.
>