APC (PHP Opcode Cache)
What does the abbreviation 'APC' signify? Just why is the presence of APC in your account essential as far as your PHP-based web sites are concerned? How can you activate this option?
APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which could boost a database-driven site several times. When a PHP webpage is opened, the script pulls the site content which should be displayed from a database, parses and compiles the program code, and then the result is displayed to the site visitor. While this is necessary for Internet sites with regularly changing content, it's a complete waste of processing time and resources for an Internet site which does not change, for instance an informational portal which displays identical content all the time. As soon as the pages for such a website are compiled, APC caches them and delivers them any time a user opens them. Since this saves the time to collect content from the database and to parse and compile the code, your website will load considerably quicker. APC is really efficient particularly for scripts with massive source code.
-
APC (PHP Opcode Cache) in Web Hosting
You can use APC with each and every
web hosting package that we offer since it is already installed on our advanced cloud platform and activating it will take you just a few clicks inside your Hepsia Control Panel. Since our platform is extremely flexible, you will be able to run Internet sites with various system requirements and decide if they will use APC or not. For instance, you can allow APC only for one release of PHP or you can do this for several of the versions running on our platform. You can also decide if all websites working with a specific PHP version will use APC or if the latter will be enabled just for selected Internet sites and not for all sites in the hosting account. The aforementioned option is useful when you'd like to employ a different web accelerator for some of your Internet sites. These customizations are carried out with ease via a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the state-of-the-art cloud Internet hosting platform where all
semi-dedicated server accounts are made, so you'll be able to employ it whatever the package you get. Enabling the module is performed through the Hepsia Control Panel and takes just a click, so you won't need any skills or previous experience to take full advantage of it. Since you will be able to employ different versions of PHP at once, you could customize the software environment for each Internet site you host in the account if required. A php.ini file with a couple of lines in it placed in a domain folder will allow you to set what version of PHP this specific Internet site will use and whether APC has to be on or off for it. These settings will have priority over the ones for the account in general, so you could run various scripts and employ various web accelerators for sites which are in the same account.