Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86640 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35562 invoked from network); 14 Jun 2015 18:11:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2015 18:11:16 -0000 X-Host-Fingerprint: 77.251.128.193 dhcp-077-251-128-193.chello.nl Received: from [77.251.128.193] ([77.251.128.193:13547] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/01-27999-FB3CD755 for ; Sun, 14 Jun 2015 14:11:13 -0400 To: internals@lists.php.net Date: Sun, 14 Jun 2015 20:11:01 +0200 Message-ID: <4sdrnalj2c1uen0e87np13lvb7td1j6t0l@4ax.com> References: <000201d0a4aa$40c2fae0$c248f0a0$@php.net> <557AD880.5070402@seld.be> <110601d0a54b$8ce6a380$a6b3ea80$@belski.net> <557B3D5C.8080100@lerdorf.com> <1c9pnad89m8c3snsiracq568es143bm0lq@4ax.com> X-Newsreader: Forte Agent 3.3/32.846 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Posted-By: 77.251.128.193 Subject: Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing! From: phpdev@ehrhardt.nl (Jan Ehrhardt) Rasmus Lerdorf in php.internals (Sat, 13 Jun 2015 16:14:37 -0700): >> On Jun 13, 2015, at 14:54, Jan Ehrhardt 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