Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46702 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3903 invoked from network); 13 Jan 2010 16:55:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jan 2010 16:55:39 -0000 Authentication-Results: pb1.pair.com header.from=addw@phcomp.co.uk; sender-id=permerror Authentication-Results: pb1.pair.com smtp.mail=addw@phcomp.co.uk; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain phcomp.co.uk designates 78.32.209.33 as permitted sender) X-PHP-List-Original-Sender: addw@phcomp.co.uk X-Host-Fingerprint: 78.32.209.33 freshmint.phcomp.co.uk Linux 2.6 Received: from [78.32.209.33] ([78.32.209.33:63692] helo=mint.phcomp.co.uk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/6A-00773-90BFD4B4 for ; Wed, 13 Jan 2010 11:55:38 -0500 Received: from addw by mint.phcomp.co.uk with local (Exim 4.63) (envelope-from ) id 1NV6VJ-0002fY-Uj for internals@lists.php.net; Wed, 13 Jan 2010 16:55:34 +0000 Date: Wed, 13 Jan 2010 16:55:33 +0000 To: internals@lists.php.net Message-ID: <20100113165533.GQ3978@phcomp.co.uk> Mail-Followup-To: internals@lists.php.net References: <4B4DABED.4060202@easyflirt.com> <4B4DBF40.5040801@easyflirt.com> <4B4DCFDA.6090206@dmi.me.uk> <20100113153113.GN3978@phcomp.co.uk> <4B4DEB41.2070800@lerdorf.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B4DEB41.2070800@lerdorf.com> User-Agent: Mutt/1.4.2.2i Organization: Parliament Hill Computers Ltd Subject: Re: [PHP-DEV] About optimization From: addw@phcomp.co.uk (Alain Williams) On Wed, Jan 13, 2010 at 07:48:17AM -0800, Rasmus Lerdorf wrote: > Alain Williams wrote: > > Unfortunately: APC does not work with PHP 5.3 -- I have a site where I would > > love to use it but I cannot. I use APC to great effect elsewhere. > > The svn version works ok with 5.3. Turn off gc though. You shouldn't > be writing code that requires garbage collection anyway if you are > looking for speed. Thanks. That compiles nicely and seems to work - CentOS 5.4 - tested on both 32 & 64 bit gc ? I cannot see anything in php.ini about that -- other than session garbage collection, I assume that you don't mean that ? Much of my motivation for APC is using large programs & class libraries (eg smarty, media wiki) that take a huge amount of time to compile - but the execution path is only a small faction of the code. BTW: 'make test' fails horribly because the modules/ directory doesn't contain most of the modules used (it only contains apc.so). Is there a way of having ''extension_dir'' as a '':'' separated PATH so that more than one can be listed ? -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php Past chairman of UKUUG: http://www.ukuug.org/ #include