Re: PHP CLI and opcode caches
| From: | Peter Wang | Date: | Mon, 13 Jul 2009 09:34:33 +0000 |
| Subject: | Re: PHP CLI and opcode caches | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44953@lists.php.net to get a copy of this message | ||
Thomas Koch <thomas@koch.ro> 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