how to install apc for php on mac osx mamp?

michael picture michael · Jun 17, 2010 · Viewed 18.6k times · Source

I am running a mac with mamp and mamp pro. How do I check if I have APC enabled and if its not enabled or not installed how do I install it?

I am trying to get the APC upload loader to work that I found online and it gets stuck on NAN% when im uploading.

This is a link: http://www.haughin.com/2007/10/23/php-upload-progress-with-php-52-apc/

Answer

keithm picture keithm · Jul 16, 2010

There's nothing to download or install. MAMP 1.9 includes APC already. To enable it, open Preferences/PHP. Uncheck 'Zend Optimizer' (because it's not compatible with APC), then choose APC from the 'Cache' drop-down box, submit the change with 'OK'.