Re: svn: /php/php-src/ branches/PHP_5_4/sapi/cli/config.m4 branches/PHP_5_4/sapi/cli/config.w32 branches/PHP_5_4/sapi/cli/php_cli.c
branches/PHP_5_4/sapi/cli/php_cli_server.c branches/PHP_5_4/sapi/cli/php_cli_server.h branches/PHP_5_4/sapi/
| From: | Moriyoshi Koizumi | Date: | Tue, 21 Jun 2011 09:12:02 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_4/sapi/cli/config.m4 branches/PHP_5_4/sapi/cli/config.w32 branches/PHP_5_4/sapi/cli/php_cli.c branches/PHP_5_4/sapi/cli/php_cli_server.c branches/PHP_5_4/sapi/cli/php_cli_server.h branches/PHP_5_4/sapi/ |
||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-65305@lists.php.net to get a copy of this message | ||
Thanks!
On 2011/06/21, at 8:36, Felipe Pena wrote:
> Fixed.
>
> 2011/6/20 Johannes Schlüter <johannes@schlueters.de>
>
>> Hi,
>>
>> On Mon, 2011-06-20 at 20:27 +0000, Moriyoshi Koizumi wrote:
>>> moriyoshi Mon, 20 Jun 2011 20:27:39 +0000
>>>
>>> Revision:
>>> http://svn.php.net/viewvc?view=revision&revision=312344
>>>
>>> Log:
>>> - Add built-in web server to CLI SAPI. See the RFC for detail.
>>
>> This broke the -d option. Causing this error on make:
>>
>> | Generating phar.phar
>> | PEAR package PHP_Archive not installed: generated phar will require
>> | PHP's phar extension be enabled.
>> | Creating phar files is disabled by ini setting 'phar.readonly'.
>> | make: *** [ext/phar/phar.phar] Error 1
>>
>> which can be reduced to this simple test case:
>>
>> $ sapi/cli/php -n -d phar.readonly=0 -r 'echo
>> ini_get("phar.readonly");'
>> 1
>>
>> I see that php_cli.c now handles parsing -d options before calling
>> sapi_startup() whic seems to cause this.
>>
>>
>> johannes
>>
>>
>>
>> --
>> PHP CVS Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
> --
> Regards,
> Felipe Pena