PHP CLI question
| From: | Monte Ohrt | Date: | Thu, 05 Jun 2003 14:22:18 +0000 |
| Subject: | PHP CLI question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150359@lists.php.net to get a copy of this message | ||
Hi,
A couple of questions:
1) Is there a way to make the CLI version of PHP ignore certain settings
in the php.ini file? For instance, I don't want the ioncube accelerator
invoked when using PHP from the command line. My current work around is
to use two separate init files, php.ini and php-cli.ini ... and this
brings me to my second question:
2) Is there a way to specify a different name for the php.ini file,
apart from hacking php_ini.c ? It seems I can only change the _path_ to
the file, but not the filename itself.
TIA
Monte