Re: [PHP-DEV] Enable Zend OPCache by default in php.ini-development during beta phase?

2013-03-22 Thread Johannes Schlüter
On Thu, 2013-03-21 at 10:02 -0500, David Soria Parra wrote:
 Hi Internals,
 
 I added the default Zend OPCache settings to php.ini-development and
 php.ini-production atm. To have more people testing the opcache I would
 like to enable the OPCache in php.ini-development during the beta phase
 and disable it once we start the first RC. I hope we catch more errors
 with standard applications. As betas should not be used in production
 I think we won't have much problems with temporarly enable it.
 
 In case there are no objections I will commit this before beta 2.

As I said on IRC: The setting ios quite irrelevant. Users have to
a) enable it during configure time, and
b) load it via php.ini 
We can have the setting for testing or maybe CLI usage, but default
should imo be on, else it is confusing to users. (... and we might need
a way to have statically compiled Zend Exts ...)

johannes



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Enable Zend OPCache by default in php.ini-development during beta phase?

2013-03-21 Thread Julien Pauli
On Thu, Mar 21, 2013 at 4:02 PM, David Soria Parra d...@php.net wrote:

 Hi Internals,

 I added the default Zend OPCache settings to php.ini-development and
 php.ini-production atm. To have more people testing the opcache I would
 like to enable the OPCache in php.ini-development during the beta phase
 and disable it once we start the first RC. I hope we catch more errors
 with standard applications. As betas should not be used in production
 I think we won't have much problems with temporarly enable it.

 In case there are no objections I will commit this before beta 2.


+1

Be carefull to pass the refresh param to 0sec for the script to be parsed
every time.
In dev env, one expects its script to be reparsed at every refresh or test.

Julien.Pauli


Re: [PHP-DEV] Enable Zend OPCache by default in php.ini-development during beta phase?

2013-03-21 Thread Pierre Joye
hi,

On Thu, Mar 21, 2013 at 4:02 PM, David Soria Parra d...@php.net wrote:
 Hi Internals,

 I added the default Zend OPCache settings to php.ini-development and
 php.ini-production atm. To have more people testing the opcache I would
 like to enable the OPCache in php.ini-development during the beta phase
 and disable it once we start the first RC. I hope we catch more errors
 with standard applications. As betas should not be used in production
 I think we won't have much problems with temporarly enable it.

 In case there are no objections I will commit this before beta 2.

Sounds good and best way to get more tests results.

However I'd to suggest to disable the comment optimization as well per
default, and maybe reduce the default optimization level (see the
reflection bug).

Whether we enable it or not per default on final should be decided via
an extra vote and based on its status.

Cheers,
--
Pierre

@pierrejoye

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php