ID: 24657 Updated by: [EMAIL PROTECTED] Reported By: phyre at rogers dot com Status: Open Bug Type: Documentation problem Operating System: Linux PHP Version: 4.3.2 New Comment:
man php Previous Comments: ------------------------------------------------------------------------ [2003-07-15 00:59:21] [EMAIL PROTECTED] I'm marking this as a documentation problem, as you can use php-cli.ini for specific settings for CLI. (Actually you can use php-<sapiname>.ini). I couldn't find docs for this though on line. ------------------------------------------------------------------------ [2003-07-14 23:10:36] phyre at rogers dot com Description: ------------ So, as many people I'm sure do, I require much different options (ie: safe mode, etc) for running under my web server than running from the command line, yet I can only choose one ini file. Various add-ons such as ZendDebugger I don't like starting up from the CLI. I assume it wouldn't be hard to add a --with-cli-config-file-path which works for the CLI only? I place php.ini in my apache config directory, which has restrictive rights. Hence, an end user can't load it. So PHP needs to be compiled in two pieces (I need to then make another build and ONLY install the CLI). Seems like this could be a simple fix and it seems to make sense. By default, it should point to the normal config path (--with-config-file-path). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24657&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php