APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which could speed up a database-driven website several times. When a PHP page is opened, the script pulls the site content that has to be shown from a database, parses and compiles the program code, then the result is displayed to the visitor. While this is necessary for websites with constantly changing content, it's a total waste of processing time and resources for a website that does not change, such as an informational portal that displays the very same content at all times. As soon as the webpages for such a website are compiled, APC caches them and delivers them each time a user loads them. Since this saves the time to get content from the database and to parse and compile the program code, your website will load considerably quicker. APC is really useful in particular for scripts with large source code.
APC (PHP Opcode Cache) in Cloud Web Hosting
You will be able to employ APC for your web apps with all of the cloud web hosting packages that we offer because it's pre-installed on our cloud website hosting platform. Turning it on will take only a mouse click inside the Hepsia Control Panel which is provided with our shared plans and several minutes later it will begin caching the code of your software apps. Our platform is rather flexible, so you'll be able to use several configurations depending on the system requirements of your scripts. For example, you can activate APC for a couple of versions of PHP for the whole account and specify the version that each website will use, or you could have the exact same version of PHP, but activate or deactivate APC just for specified 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 configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is provided with all semi-dedicated server plans because it is pre-installed on the cloud website hosting platform where your account shall be created. If you wish to use this module, you can activate it with just a single click in your Hepsia Control Panel and it will be fully operational within a couple of minutes. Since you may need to use alternative web accelerators for selected websites, our state-of-the-art platform will enable you to customize the software environment inside your account. You will be able to activate APC for different releases of PHP or use it only for some websites and not for others. For example, a Drupal-based Internet site could work with APC employing PHP 5.4 and a WordPress site can work without APC using PHP 5.6. What is needed to do that is a php.ini file with several lines in it, so you'll be able to run Internet sites with different requirements inside the same account.