Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to install apc for php on mac osx mamp?

Tags:

php

mamp

apc

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/

like image 889
michael Avatar asked Jun 17 '10 21:06

michael


1 Answers

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'.

like image 70
keithm Avatar answered Oct 04 '22 14:10

keithm