APC Installation on Mac OS X Troubleshooting

July 17th, 2012 by Regaz



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;)

  1. Execute Carefully Instructions Given by Terminal on Installation End:
    Find by Finder on Mac

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

    Find by Finder on Mac
    Check also you have Set the “ext_dir” like in the Example here below:
    Set ext_dir in php.ini
    The PHP Extension dir definitively depend on your PHP installation…

  3. 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:
    Find by Finder on Mac

Complete APC Installation Troubleshooting:

APC Installation Mac Steps


Your Ad Here

(Visited 2 times, 1 visits today)
Share on Tumblr

Tags: , , ,