October 12th, 1999, 12:02 PM
Ok, this is probably a silly question but I've just started with this whole PHP3 + mySQL thing. I tried implementing a guestbook and got the following message.
Fatal error: Call to unsupported or undefined function mysql_connect() in connect.inc.php3 on line 14
October 12th, 1999, 12:27 PM
That error means PHP doesn't have mysql support compiled in.
October 12th, 1999, 12:33 PM
I kinda figured somethin like that....
how do I fix it ??
October 12th, 1999, 01:17 PM
You need to include:
in the configuration. (Check the manual for more info). BTW, DIR defaults to /usr/local/ which is the default path for mysql, so you can exclude it as long as you didn't place mysql someplace funky.
October 13th, 1999, 03:08 AM
oh by the way I'm running this on NT
October 13th, 1999, 08:55 AM
Oh, that's where your problem is..
Did you compile yourself? If so I don't know what to tell you as I've never done that on an Win box. However, you can dl binaries for Win32 that have mysql support compiled in. Check at www.php.net