I'm having a weird problem. When I run php from the command line it appears that the whole set of mysql functions are not available to it. I get this.
root@server:/home/htdocs/system# php movie_update_listings.php
Fatal error: Call to undefined function mysql_connect() in /htdocs/inc/functions.php on line 370
But I know mysql works on my php scripts when I am using them from Apache over the web. Could anyone shed some light on what is going on?
I am using Ubuntu 6.10 fully up to date with the latest apache php and mysql that is available from the apt-get repos.