Re: php4-cli - problem with mysql support

From: Date: Wed, 15 Dec 2004 10:09:21 +0000
Subject: Re: php4-cli - problem with mysql support
References: 1 2  Groups: php.evangelism 
Request: Send a blank email to php-evangelism+get-311@lists.php.net to get a copy of this message
it worked! it was commented in default.. now i can connect thanks. vk. On Wed, 15 Dec 2004 07:52:55 -0200, Alejandro Vartabedian <avartabedian@webservices.com.uy> wrote: > kalinga, take a look at /etc/php4/cli/php.ini or /etc/php4/cgi/php.ini for the > mysql extension load. > > i'm not sure if it's the correct place to ask it. > > regards. > > kalinga wrote: > > Hi all, > > > > I'm writing a little php script which executed by a cron in every 15 minutes > > to extract some data from a mysql database and write to a file located inside > > the /etc directory of my linux box. > > > > problem is when i xecute the db connection php script throgh CLI using the > > command 'php4 /var/www/db.inc.php', it says .. > > > > Fatal error: Call to undefined function: mysql_connect() in > > /var/www/db.inc.php on line 6 > > > > i installed php and other stuff i need with the following debian command. > > > > apt-get install php4 php4-cli mysql-server mysql-client phpmyadmin php4-mysql > > > > i'm tring to rectify this issue since last week, and googled a lot but > > still the problem > > is same.. > > > > I'm using Debian(Sarge) . > > > > > > -- vk.

« previous php.evangelism (#311) next »