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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 23:01:30 2024 UTC