OhLordy Posted February 3, 2003 Share Posted February 3, 2003 I have MySQL installed on my Redhat 8 machine. I know it\'s working because I can use it from the command line. However when I call it from PHP I get this error Fatal error: Call to undefined function: mysql_connect() in /var/www/html/tester.php on line 9 It sounds like I need to add something to PHP to make MySQL work but I installed them together with the web development package that came with Redhat 8. Thanks in advance Rob Link to comment https://forums.phpfreaks.com/topic/121-problem-with-installed-mysql-resolved/ Share on other sites More sharing options...
effigy Posted February 3, 2003 Share Posted February 3, 2003 make a phpinfo() page and check your \"configure command\" at the top. does it have a --with-mysql= option? Link to comment https://forums.phpfreaks.com/topic/121-problem-with-installed-mysql-resolved/#findComment-363 Share on other sites More sharing options...
OhLordy Posted February 4, 2003 Author Share Posted February 4, 2003 Thanks effigy realised how silly my question was when I found a php-mysql rpm file. I\'ve got it sorted now. Link to comment https://forums.phpfreaks.com/topic/121-problem-with-installed-mysql-resolved/#findComment-369 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.