|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
18 + 41 = ?
Subscribe to this entry?

 [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 22:01:31 2024 UTC