APC (PHP Opcode Cache)
Uncover what the acronym ‘APC’ stands for, exactly what APC can do PHP overall performance-wise and the ways to activate it for your account.
APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which can speed up a database-driven website several times. Each time a PHP web page is accessed, the script pulls the site content that needs to be loaded from a database, parses and compiles the program code, and then the result is shown to the visitor. While this is necessary for websites with regularly changing content, it's a waste of processing time and system resources for an Internet site that doesn't change, for example an informational portal that shows the exact same content at all times. When the web pages for such a website are compiled, APC caches them and delivers them each time a website visitor loads them. Since this saves the time to get content from the database and to parse and compile the program code, the site will load considerably quicker. APC is really efficient in particular for scripts with larger source code.
APC (PHP Opcode Cache) in Shared Website Hosting
You can use APC for your web applications with any of the shared website hosting
plans that we offer because it's pre-installed on our cloud web hosting platform. Activating it will take just a click inside the Hepsia Control Panel that is provided with our shared solutions and a couple of minutes later it'll start caching the program code of your software apps. Our platform is very flexible, so you'll be able to use different configurations determined by the system requirements of the scripts. For example, you could activate APC for a couple of releases of PHP for the entire account and pick the version that each Internet site can use, or you can have the very same version of PHP, but enable or disable APC just for particular sites. You can do this by placing a php.ini file with a line of program code in 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
plans since it is pre-installed on the cloud website hosting platform where your account will be created. In case you'd like to use this module, you'll be able to activate it with just a single click from your Hepsia Control Panel and it will be fully operational within a couple of minutes. Since you may want to use alternative web accelerators for selected Internet sites, our state-of-the-art platform will permit you to customize the software environment inside your account. You can activate APC for different versions of PHP or use it only for some Internet sites and not for others. For example, a Drupal™
-based site could work with APC employing PHP 5.4 and a WordPress website could work without APC employing PHP 5.6. All it takes to do that is a php.ini file with several lines in it, so you'll be able to run sites with different requirements from the exact same account.