APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which can speed up a database-driven website several times. Every time a PHP page is accessed, the script pulls the website content that has to be loaded from a database, parses and compiles the code, and then the result is shown to the website visitor. While this is necessary for sites with routinely changing content, it's a complete waste of processing time and resources for a website which does not change, such as an informational portal that shows the same content on a regular basis. When the web pages for such a site are compiled, APC caches them and delivers them any time a user accesses them. Since this saves the time to obtain content from the database and to parse and compile the program code, the site will load significantly quicker. APC is really efficient especially for scripts with large source code.

APC (PHP Opcode Cache) in Hosting

You'll be able to employ APC for your web applications with all of the hosting packages that we provide since it is pre-installed on our cloud website hosting platform. Enabling it will take only a mouse click in the Hepsia Control Panel that is provided with our shared solutions and a few minutes later it will begin caching the code of your software apps. Our platform is really flexible, so you'll be able to use different configurations depending on the system requirements of the scripts. For example, you can activate APC for several versions of PHP for the whole account and select the version that each site can use, or you could have the same version of PHP, but enable or disable APC just for specific Internet sites. This is done by placing a php.ini file with a line of program code within the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is available with all semi-dedicated server solutions since it's pre-installed on the cloud hosting platform where your account will be created. If you want to use this module, you will be able to enable it with a single click from your Hepsia Control Panel and it will be fully functional within a couple of minutes. Since you may need to use alternative web accelerators for selected websites, our leading-edge platform will enable you to personalize the software environment in your account. You'll be able to activate APC for different versions of PHP or use it just for some websites and not for others. For instance, a Drupal-based site can work with APC employing PHP 5.4 and a WordPress site can function without APC using PHP 5.6. What is needed to do the latter is a php.ini file with several lines in it, so you could run sites with different requirements from the exact same account.