PHP CLI and opcode caches
| From: | Thomas Koch | Date: | Mon, 13 Jul 2009 06:37:52 +0000 |
| Subject: | PHP CLI and opcode caches | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-44939@lists.php.net to get a copy of this message | ||
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