Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89729 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5542 invoked from network); 8 Dec 2015 00:28:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Dec 2015 00:28:45 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 217.147.176.204 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 217.147.176.204 mail4.serversure.net Linux 2.6 Received: from [217.147.176.204] ([217.147.176.204:40001] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 94/80-31749-A3426665 for ; Mon, 07 Dec 2015 19:28:44 -0500 Received: (qmail 32260 invoked by uid 89); 8 Dec 2015 00:28:40 -0000 Received: by simscan 1.3.1 ppid: 32254, pid: 32257, t: 0.0738s scanners: attach: 1.3.1 clamav: 0.96/m:52/d:10677 Received: from unknown (HELO ?10.0.0.7?) (lester@rainbowdigitalmedia.org.uk@81.138.11.136) by mail4.serversure.net with ESMTPA; 8 Dec 2015 00:28:40 -0000 To: internals@lists.php.net Message-ID: <56662437.5040508@lsces.co.uk> Date: Tue, 8 Dec 2015 00:28:39 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Practical comparisons on PHP7 From: lester@lsces.co.uk (Lester Caine) OK now have a working nginx server with both the current production setup and PHP7 php-fpm both running the same code base ... Just a few __construct switches from their named constructor ( still don't see why we need to kill the named version MUCH tidier seeing the name of the parent class ) and everything is running clean. Only problem ... PHP7 is around 10% slower ... and given that half the time is taken in database lookup, the code performance is potentially worse. So what am I missing? lsces.org.uk php7.lsces.org.uk (On a slow local network link so my take a while to display remotely) /phpinfo.php gives the setup of each php-fpm instance. Have a letsencrypt based https on the original version but it's not working with the php7. sub domain :( One thing I do need to put on the bug list is fixing compile warnings in the php_firebird and interbase extensions, but they do seem to be working OK. Pass all tests. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk