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.
David
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
hi,
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
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