php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #55570 php-cli: -c by ENV variable
Submitted: 2011-09-02 00:21 UTC Modified: 2021-06-01 12:49 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: naox at o2 dot pl Assigned: cmb (profile)
Status: Closed Package: PHP options/info functions
PHP Version: Irrelevant OS:
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:
MUST BE VALID
Solve the problem:
43 - 8 = ?
Subscribe to this entry?

 
 [2011-09-02 00:21 UTC] naox at o2 dot pl
Description:
------------
php-cli make some enviroment variable to define what -c swtich does (look for 
php.ini file in the directory path)
Would be usefull to link shell user to his php.ini, so he does not have to specify 
it on EVERY COMMAND...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-01 12:49 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-06-01 12:49 UTC] cmb@php.net
There are umpteen ways to set the desired php.ini[1].  I don't
think we want to add more.  Besides that PHPRC should serve your
purpose.

[1] <https://www.php.net/manual/en/configuration.php>
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Jul 31 22:01:23 2021 UTC