CLI php: how to use different php.ini file

From: Date: Tue, 22 Jul 2003 10:52:00 +0000
Subject: CLI php: how to use different php.ini file
Groups: php.general 
Request: Send a blank email to php-general+get-156202@lists.php.net to get a copy of this message
I am running some cronjob scripts that are written in PHP. However things are not working as expected because my php.ini file auto-prepends a file. This auto-prepending is meant for my PHP web pages and I don't want it loaded when I run PHP from the command line. Is there a way from me to either use a different php.ini file for my CLI PHP calls or to tell PHP *not* to auto-prepend the file? Thanks, Jean-Christian Imbeault

« previous php.general (#156202) next »