Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44953 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60353 invoked from network); 14 Jul 2009 11:05:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jul 2009 11:05:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=news@ger.gmane.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.2 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from [80.91.229.2] ([80.91.229.2:42865] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/FE-18547-4666C5A4 for ; Tue, 14 Jul 2009 07:05:09 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1MQfok-0007lD-Ov for internals@lists.php.net; Tue, 14 Jul 2009 11:05:02 +0000 Received: from 61.148.100.42 ([61.148.100.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Jul 2009 11:05:02 +0000 Received: from peterwang by 61.148.100.42 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Jul 2009 11:05:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Mon, 13 Jul 2009 17:34:33 +0800 Lines: 28 Message-ID: References: <200907130837.53453.thomas@koch.ro> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: 61.148.100.42 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:/clNdCrF2+3T8sjvSSyyoYfWykY= Sender: news Subject: Re: [PHP-DEV] PHP CLI and opcode caches From: peterwang@vip.qq.com (Peter Wang) Thomas Koch writes: http://www.php.net/manual/en/apc.configuration.php#ini.apc.enable-cli is that what you want? > Hi, > > I have some PHP scripts to be run as daemons or as gearman workers. Now it > would be fine, if PHP could make use of an opcode cache also for CLI scripts. > > Is anybody aware of an opcode cache (APC, XCache, eaccelerator) that could be > addapted in this way? Two possible scenarios: > > - A Runner starts and keeps running x PHP threads with the same PHP script > which share an opcode cache. > - A gearman worker starts different PHP scripts according to the requested > task. All threads share the opcode cache. > > Which is the best mailing list to discuss this further, please? > > Best regards, > > Thomas Koch, http://www.koch.ro > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php