ID: 34575 Updated by: [EMAIL PROTECTED] Reported By: Peter-Ulrich at Web dot de -Status: Assigned +Status: Bogus Bug Type: CGI related Operating System: Linux PHP Version: 5CVS2005-09-21 (cvs) Assigned To: johannes New Comment:
Works fine when executed on the command line: php-cgi -c foo -i | grep ini Configuration File (php.ini) Path </td><td class="v">foo The fact it does not work when using via #! has nothing to do with PHP itself. Previous Comments: ------------------------------------------------------------------------ [2005-09-21 10:39:07] Peter-Ulrich at Web dot de Description: ------------ The Commandline-Option '-c' does not work with PHP Version 5.0.5 together with a CLI-Programm where it is called in the Script like #!/usr/bin/php -c path/to/inifile When i change the Option to '--php-ini', then the Script runs with the korrekt ini-file. Best regards P. Ulrich ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34575&edit=1