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 Quote Link to comment 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? Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.