This Post Represents a Troubleshooting for APC PHP Accelerator Installation Mac OS X.
To Make the Entire Process Easier to Visualize and Retain the Post Includes the Basic Screenshots of the Essentials Steps Involved.
The Content give Focus Only to the Essentials Instructions and Commands to make it Easier to Understand;)
- Execute Carefully Instructions Given by Terminal on Installation End:
- Next you need to Edit your php.ini File and Insert the line:
extension = apc.so
If you forgot the location of php.ini search by the Finder or load the phpinfo.php in localhost and look there.
Here below there is a Screenshot of php.ini with apc.so set.HOW to Find Files/Directories/Images by Mac Command Line
Check also you have Set the “ext_dir” like in the Example here below:
The PHP Extension dir definitively depend on your PHP installation…
- Latest you need to Ckeck by your Browser that php has Load the Extension.
If you already didn’t so. In your Localhost make a new phpinfo.php file and insert inside:
Load the file going in your Browser to the Address:
You should find the Mark of Loaded APC:
Complete APC Installation Troubleshooting: