I'm running a basic script to connect to a mysql database in PHP. PHP works fine but if I try to connect to a mysql database
I get the error:
"Fatal error: Call to undefined function mysql_connect() in /home/david/public_html/php/do_mysql.php on line 9"
I installed php5-mysql
Googling around I got the suggestion that this may be because PHP was not compiled with mysql support built in. Can anyone confirm this?