|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: schwenke at jobpilot dot de
New email:
PHP Version: OS:


 [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


Add a Patch

Pull Requests

Add a Pull Request


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

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

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 23:01:32 2024 UTC