Click to See Complete Forum and Search --> : php 3, MySQL, Apache on Windows 98


Anon
11-14-2000, 11:35 PM
I have installed these three on Windows 98. All appear to be running fine. Apache serves html pages, and php is parsed except for the fact that mysql_connect functions return

Fatal error: Call to unsupported or undefined function mysql_connect()

I have already checked to make sure that the extensions=php3_mysql.dll line is uncommented. What else would cause this problem?

Thanks in advance.

Marty

Anon
11-15-2000, 05:06 AM
I had the same problem! But i installed win2000 server and everything works fine. I know this is not the answer your wiating for but i think there are to many problems in win98 to do this.

Anon
11-15-2000, 09:57 AM
I finally figured it out. I was installing php 3 because that was what my current host has until they upgrade after the first of the year. I was attempting to set up a machine for local development that would mirror the capabilities of my host. However, php 3 does not have my_sql support compiled into the php.exe file and therefore requires a library or recompiling to work with mysql commands. I solved it by downloading the latest version of php 4 and installing it. It has the mysql support compiled into the php.exe file. Since doing so, everything works without a hitch.

Thanks,
Marty