This Post Represents a Troubleshooting for APC PHP Accelerator Installation macOS.
And this Visual Guide includes the Basic Screenshots of All GUI Steps involved.
The Content give Focus Only to the Essentials Instructions and Commands to make it Easier to Follow.
-
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:
http://localhost/phpinfo.php
You should find the Mark of Loaded APC:
Complete APC Installation Troubleshooting: