|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
Can anyone tell me what´s mean this error message: ------------------------------------------ Fatal error: Call to unsupported or undefined function mysql_connect() in D:TEMPteste.php3 on line 2 ------------------------------------------- TIA. |
|
#2
|
|||
|
|||
|
Well, from what I have read it means that you have not compiled mysql into php. Although since I am having the same problem (and I was told that everything is compiled correctly...) My suggestion to you would be to make sure that you have the correct modules installed. Either way, let me know so I can figure out why I am getting the same error.
------------------ Ollie Townsend III URL NetApex - President http://www.netapex.com |
|
#3
|
|||
|
|||
|
Yep. You'll need to re-compile PHP with support for MySQL. That's done with:
./configure --with-mysql=/path_to_mysql --other_things A RedHat 6.2 Web Server install includes Apache pre-compiled with support for PHP (with support for PostGreSQL), but the PHP doesn't have support compiled for MySQL. I have always re-compiled Apache, PHP and MySQL to get this done. Good luck! |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > PHP & mySQL configuration |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|