$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

APC Installation Mac OS X Troubleshooting

July 17, 2012 | By Duchateaux.

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.

  1. Execute Carefully Instructions Given by Terminal on Installation End:
    APC Installation Mac OS X Troubleshooting

  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