Re: Shell Script error

From: Date: Wed, 10 Nov 2004 13:14:27 +0000
Subject: Re: Shell Script error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201663@lists.php.net to get a copy of this message
* Rui Francisco <rui.francisco@fccn.pt>: > I have a small problem with a PHP script with Pear DB > > The problem is the following: I'm creating a shell script in PHP that > access one interbase database. > > The problem is that if i run it on a webserver the script run correctly > but if i runit in the command line it reports one error (DB Error: > connect failed). > > Does anybody know what is the problem ? Are you running the script on the same server as the webserver process? If not, you may need to set up additional permissions on the database to run it from the new machine. -- Matthew Weier O'Phinney | mailto:matthew@garden.org Webmaster and IT Specialist | http://www.garden.org National Gardening Association | http://www.kidsgardening.com 802-863-5251 x156 | http://nationalgardenmonth.org

« previous php.general (#201663) next »