|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
That error means PHP doesn't have mysql support compiled in.
|
|
#3
|
|||
|
|||
|
I kinda figured somethin like that....
how do I fix it ?? URL |
|
#4
|
|||
|
|||
|
You need to include:
--with-mysql=DIR 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. |
|
#5
|
|||
|
|||
|
oh by the way I'm running this on NT
|
|
#6
|
|||
|
|||
|
Oh, that's where your problem is.. URL
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 |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Help --- error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|