Tuesday 12 November 2013

Re: [dcphp-dev] APC

If you don't need to share that key across web servers, APC will work just fine (and faster than locally installed memcached). If/when you upgrade to PHP5.5, you'll need to install the APCu extension ( http://pecl.php.net/package/APCu). APC is not supported with PHP5.5 because the default opcode cache is now Zend Optimizer+ ( https://wiki.php.net/rfc/optimizerplus)

On 11/12/2013 11:16 AM, jtracy717@gmail.com wrote:
Hey all,

I'm building an API for an in-house PHP application, and I find myself checking permissions for an API key at every request. In order to avoid a database access on every request, I would like to cache keys and their corresponding privileges in shared memory. PECL APC seems like the easiest and best way to do this. But I just wanted to check with the list to see if I am missing and potential pitfalls or preferable solutions.

Thanks,
Jim Tracy
--
You received this message because you are subscribed to the Google
Group: "Washington, DC PHP Developers Group" - http://www.dcphp.net
To post, send email to washington-dcphp-group@googlegroups.com
To unsubscribe, send email to washington-dcphp-group+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/washington-dcphp-group?hl=en
---
You received this message because you are subscribed to the Google Groups "Washington, DC PHP Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to washington-dcphp-group+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 comments:

Post a Comment