Setting up APC w/ Custom Configs outside of H-Sphere

Setting up APC w/ Custom Configs outside of H-Sphere

To set up APC outside of H-Sphere is actually fairly simple to do, you just need to create the following file (ensuring that Zend and APC are turned off in H-Sphere CP under P.Servers):

/hsphere/local/config/httpd2/php5/php.d/apc.ini

and populate it with the below (at a minimum):

extension="apc.so"
apc.enabled=1


You can optionally change the default memory limit (32MB) to whatever you want by adding the following line:

apc.shm_size="memory-value-here-in-megabytes"

Then reload Apache for the changes to take effect:

service httpd reload

You will also need to chattr the file immutable so H-Sphere doesn't touch it:

chattr +i apc.ini

Note: This *may* break other customizations done to the environment -- so, you'll have to be careful.
    • Related Articles

    • Setting Custom DNS Entries in H-Sphere

      To create a custom record to your DNS zone, do the following: 1. Select Domain info in the Domain Settings menu. 2. On the page that appears, click the Edit icon in the DNS Configuration field: 3. This link will take you to the DNS Configuration ...
    • Setting Custom DNS Entries in H-Sphere

      To create a custom record to your DNS zone, do the following: 1. Select Domain info in the Domain Settings menu. 2. On the page that appears, click the Edit icon in the DNS Configuration field: 3. This link will take you to the DNS Configuration ...
    • Setting Domain to use Google Apps Email

      Information on setting up Google Apps in H-Sphere can be found at: http://www.google.com/support/a/bin/answer.py?hl=en&answer=61158 Once this is complete, you will want to turn off Mail Service under Domains -> Domain Settings (after ensuring that ...
    • Step by Step for Setting up Mail Clients w/ SMTP AUTH

        Launch Outlook     Select "Tools" from the Menu bar.     Select "Email Accounts" from the Tools menu. The Email Accounts Wizard will appear.     Under the Email heading, select "Add a new email account." Click "Next."     Select server type. In ...
    • Protect a directory in H-sphere

      How to protect a directory through Hsphere: 1. Login to Your control panel 2. Click FTP Manager 3. Click File Manager (HtProtect) 4. Click Protect at the bottom 5. Browse to the directory you want to lock, in this case "admin" (click the + through, ...