APC (PHP Opcode Cache)
Learn what the abbreviation ‘APC’ means, just what APC can do PHP efficiency-wise and the way to activate it for your account.
APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that could boost a database-driven Internet site several times. Any time a PHP page is accessed, the script pulls the website content which should be displayed from a database, parses and compiles the code, and then the result is displayed to the visitor. While this is necessary for websites with frequently changing content, it's a complete waste of processing time and system resources for a website that doesn't change, like an informational portal that displays the very same content at all times. Once the pages for such an Internet site are compiled, APC caches them and delivers them each time a website visitor opens them. As this saves the time to collect content from the database and to parse and compile the code, the website will load a lot faster. APC is really helpful in particular for scripts with large source code.
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC for your web applications with any of the cloud website hosting
packages that we provide since it's pre-installed on our cloud website hosting platform. Activating it will take just a single click inside the Hepsia Control Panel that is provided with our shared solutions and a couple of minutes later it'll begin caching the program code of your software apps. Our platform is very flexible, so you will be able to use several configurations based on the system requirements of the scripts. For instance, you'll be able to activate APC for several releases of PHP for the whole account and select the version that each site can use, or you can have the same version of PHP, but activate or deactivate APC just for specific websites. You can do this by putting a php.ini file with a line of code within the domain or subdomain folder where you need the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is available with all semi-dedicated server
packages since it's pre-installed on the cloud website hosting platform where your account shall be created. If you'd like to use this module, you'll be able to activate it with a single click inside your Hepsia Control Panel and it will be fully operational in a few minutes. Since you may want to use some other web accelerators for selected Internet sites, our leading-edge platform will permit you to customize the software environment in your account. You will be able to activate APC for different releases of PHP or use it only for some Internet sites and not for others. For example, a Drupal™
-based Internet site can work with APC employing PHP 5.4 and a WordPress site can work without APC using PHP 5.6. What is needed to do the aforementioned is a php.ini file with a couple of lines in it, so you could run sites with various requirements inside the very same account.