php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13037 commandline option -c does not work
Submitted: 2001-08-29 12:58 UTC Modified: 2001-10-02 19:20 UTC
From: schwenke at jobpilot dot de Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.0.6 OS: linux
Private report: No CVE-ID: None
 [2001-08-29 12:58 UTC] schwenke at jobpilot dot de
The standalone PHP interpreter does not honour the -c commandline option:

ls -l /JobsAdverts/Config/php.ini 
-rw-r--r--   1 schwenke users         206 Sep 26  2000 /JobsAdverts/Config/php.ini

$strace -e open ./php -c /JobsAdverts/Config -f test
...
open("./php.ini", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/etc/php.ini", O_RDONLY)          = -1 ENOENT (No such file or directory)
... (no more tries to open php.ini)

./php -v
4.0.6

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-30 10:33 UTC] sniper@php.net
I can not reproduce this with latest CVS.
Please try the latest snapshot: http://snaps.php.net/

 [2001-10-02 19:20 UTC] sniper@php.net
No feedback and can not reproduce with latest CVS.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 04:01:28 2024 UTC