Rasmus Lerdorf in php.internals (Sat, 13 Jun 2015 16:14:37 -0700):
>> On Jun 13, 2015, at 14:54, Jan Ehrhardt <php...@ehrhardt.nl> wrote:
>> 
>> Rasmus Lerdorf in php.internals (Fri, 12 Jun 2015 13:13:16 -0700):
>>> You can get even more speed by compiling with --enable-opcache-file and
>>> then in your php-cli.ini add:
>>> 
>>>   opcache.enable_cli=1
>>>   opcache.file_cache=/var/tmp
>>>   opcache.file_cache_only=1
>>> 
>>> Then every time you run composer it won't have to recompile everything.
>> 
>> I saw something referring to this in the commits. But some documentation
>> would be welcome. I could not find any at the obvious places:
>> http://php.net/manual/en/opcache.configuration.php
>> https://github.com/zendtech/ZendOptimizerPlus
>> 
>> Is this documented elsewhere?
>
>No, not yet. It is rather new and untested. And not enabled by default.
>There are still a few minor issues with it, but we need a few more
>people playing with it so we can work through those which is why I am
>suggesting folks here give it a try before we document and push it more
>broadly.

OK, I recmpiled my Windows builds with --enable-opcache-file:
https://www.apachelounge.com/viewtopic.php?p=30718#30718

Example of a generated phpinfo():
https://phpdev.toolsforresearch.com/php-7.0.0alpha1-nts-Win32-VC14-x64.htm

Maybe some Windows guys also want to test it.
-- 
Jan

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

Reply via email to