APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which can boost a database-driven site several times. Any time a PHP webpage is accessed, the script pulls the site content which should be displayed from a database, parses and compiles the program code, and the result is shown to the visitor. While this is necessary for Internet sites with routinely changing content, it's a waste of processing time and system resources for an Internet site that doesn't change, like an informational portal which shows the exact same content at all times. As soon as the web pages for such a website are compiled, APC caches them and delivers them every time a user loads them. Since this saves the time to collect content from the database and to parse and compile the program code, the website will load significantly quicker. APC is really efficient particularly for scripts with larger source code.
APC (PHP Opcode Cache) in Hosting
You can use APC for your web apps with any of the hosting plans that we offer since it is pre-installed on our cloud website hosting platform. Activating it will take just a mouse click inside the Hepsia Control Panel which is provided with our shared plans and several minutes later it'll begin caching the program code of your software apps. Our platform is very 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 releases of PHP for the whole account and specify the version that each website will use, or you could have the very same version of PHP, but enable or disable APC just for particular websites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you need the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is provided with all semi-dedicated hosting solutions as it is pre-installed on the cloud hosting platform where your account shall be created. If you'd like to use this module, you can activate it with a single click inside your Hepsia Control Panel and it will be fully functional within a couple of minutes. Since you may need to use other web accelerators for selected Internet sites, our state-of-the-art platform will allow you to personalize the software environment inside your account. You'll be able to activate APC for different releases of PHP or use it just for some Internet sites and not for others. For example, a Drupal-based website can function with APC using PHP 5.4 and a WordPress site can work without APC employing PHP 5.6. What is needed to do the latter is a php.ini file with a few lines in it, so you will be able to run sites with various requirements in the very same account.