khader69 Posted May 29, 2006 Share Posted May 29, 2006 Hi All,I am stuck with a small problem. I have been using PHP/Mysql for quite a while, but all my work has been on PHP-Mysql scripts hosted on a webserver (Apache).A few days back I tried installing a package that required me to execulte a PHP script in command line. But the installation failed because it could not recognise the Mysql related PHP functions.[code]khader@ubuntu:/var/www/webabel$ php install.php Fatal error: Call to undefined function: mysql_connect() in /var/www/webabel/inc/querytool.php on line 10[/code]I could not figure what package I need to install to get this running. Can someone help me here?Existing packagesphp4 - 4.3.10-10ubuntu4.2libapache2-mod-php4 - 4.3.10-10ubuntu4.4php4-cgi - 4.3.10-10ubuntu4.4php4-cli - 4.3.10-10ubuntu4.4php4-common - 4.3.10-10ubuntu4.4php4-gd - 4.3.10-10ubuntu3.7php4-mysql - 4.3.10-10ubuntu3.7php4-universe-common - 4.3.10-10ubuntu3.7My Distribution is Ubuntu 5.04 Link to comment https://forums.phpfreaks.com/topic/10695-php-cli-and-mysql/ Share on other sites More sharing options...
khader69 Posted May 30, 2006 Author Share Posted May 30, 2006 *** Bounce *** Link to comment https://forums.phpfreaks.com/topic/10695-php-cli-and-mysql/#findComment-40181 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.