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
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.
Password:
Status:
Package:
Bug Type:
Summary:
From: naox at o2 dot pl
New email:
PHP Version: OS:

 

 [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: Fri May 10 11:01:32 2024 UTC