Click to See Complete Forum and Search --> : PHP4 MySQL error


araaf
05-02-2001, 02:38 PM
Hi there,

I have a PWS, Win98SE, PHP4.0.5 setup. Whenever I try to use the mysql_connect() function, PWS Responds as follows:

Fatal error: Call to unsupported or undefined function mysql_connect() in c:\inetpub\wwwroot/test.php on line 20

The script I am running worked perfectly in PHP 3. I have installed the CGI-only PHP 4.0.5 download available at www.php.net. Since this is a automated installation I didn't change anything to my system. They say PHP4 has MYSQL functions integrated, but they don't seem to work on my system....did I miss something with the installation?

Does anyone have any suggestions?

Thanks in advance,

Araaf

Anon
05-03-2001, 09:41 AM
Not sure what your problem is but check out nusphere.com. They have php4, apache and mysql as one package. You can download a full working copy with no time limits

Araaf wrote:
-------------------------------
Hi there,

I have a PWS, Win98SE, PHP4.0.5 setup. Whenever I try to use the mysql_connect() function, PWS Responds as follows:

Fatal error: Call to unsupported or undefined function mysql_connect() in c:\inetpub\wwwroot/test.php on line 20

The script I am running worked perfectly in PHP 3. I have installed the CGI-only PHP 4.0.5 download available at www.php.net. Since this is a automated installation I didn't change anything to my system. They say PHP4 has MYSQL functions integrated, but they don't seem to work on my system....did I miss something with the installation?

Does anyone have any suggestions?

Thanks in advance,

Araaf