Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86641 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37987 invoked from network); 14 Jun 2015 18:45:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2015 18:45:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:37133] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/61-27999-BCBCD755 for ; Sun, 14 Jun 2015 14:45:32 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id 9005D23D615B; Sun, 14 Jun 2015 20:45:28 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on h1123647.serverkompetenz.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.5 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: from w530phpdev (p579F39CB.dip0.t-ipconnect.de [87.159.57.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id D691623D615B; Sun, 14 Jun 2015 20:45:26 +0200 (CEST) To: "'Jan Ehrhardt'" , References: <000201d0a4aa$40c2fae0$c248f0a0$@php.net> <557AD880.5070402@seld.be> <110601d0a54b$8ce6a380$a6b3ea80$@belski.net> <557B3D5C.8080100@lerdorf.com> <1c9pnad89m8c3snsiracq568es143bm0lq@4ax.com> <4sdrnalj2c1uen0e87np13lvb7td1j6t0l@4ax.com> In-Reply-To: <4sdrnalj2c1uen0e87np13lvb7td1j6t0l@4ax.com> Date: Sun, 14 Jun 2015 20:45:24 +0200 Message-ID: <018e01d0a6d2$483f10e0$d8bd32a0$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQECv0VsBC4uMl0Sz9c1gJcR8zkiHQKagbqIAbgDJMICe8zqDwHRXd6uAjpCJl0B96MTs57hmHFA Content-Language: en-us Subject: RE: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing! From: anatol.php@belski.net ("Anatol Belski") Hi Jan, > -----Original Message----- > From: Jan Ehrhardt [mailto:phpdev@ehrhardt.nl] > Sent: Sunday, June 14, 2015 8:11 PM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing! > > 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 > It is by default on in the snapshot build, so is it in alpha1. Regards Anatol