Re: CLI ini selection
| From: | Yasuo Ohgaki | Date: | Tue, 29 Oct 2002 01:15:24 +0000 |
| Subject: | Re: CLI ini selection | ||
| References: | 1 2 3 4 5 6 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90232@lists.php.net to get a copy of this message | ||
Edin Kadribasic wrote:
We already have sapi specific ini files. If php finds php-{$SAPI}.ini (e.g. php-cli.ini, php-apache.ini, etc) it will use it instead of php.ini. IMHO this should cover most of the needs for differentiated ini settings.I knew it, too :) As I mentioned in several mails, use of web server ini files could be confusing and annoying. Good idea for Windows is needed, though. -- Yasuo Ohgaki
Edin ----- Original Message ----- From: "Melvyn Sopacua" <msopacua@php.net> To: <php-dev@lists.php.net> Sent: Monday, October 28, 2002 3:41 PM Subject: [PHP-DEV] CLI ini selectionLet's put this in the right thread. At 14:34 28-10-2002, Rick Widmer wrote:already using.At 07:38 PM 10/28/02 +0900, Yasuo Ohgaki wrote:BTW, we should better to have a little different ini selection for CLI. For instance, /etc/phprc or php.ini ~/.phprc or php.ini which are standard locations of rc files under UNIX like systems.This I can agree with. I would prefer /etc/php.ini which I am+1 on /etc/php.ini being the equivalent of php_admin_value +1 on ~/.php.ini being the equavalent of php_value On windows this may clash bigtime though. The equivalent of/etc/php.iniwould be WINNT\ini\php.ini or maybe %ALLUSERPROFILE\Application Data\Php Group\php.ini and ~/.php.ini would be %USERPROFILE%\Application Data\PhpGroup\php.ini.Yuk :) With kind regards, Melvyn Sopacua <?php include("not_reflecting_employers_views.txt"); ?> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php