APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that could boost a database-driven website several times. Any time a PHP page is accessed, the script pulls the site content that has 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 constantly changing content, it's a total waste of processing time and system resources for a site that does not change, such as an informational portal that displays the exact same content at all times. When the pages for such an Internet site are compiled, APC caches them and delivers them any time a website visitor opens them. Since this saves the time to collect content from the database and to parse and compile the code, your Internet site will load considerably faster. APC is very helpful in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Shared Website Hosting
You can use APC with each and every shared website hosting package that we provide as it's already set up on our advanced cloud platform and enabling it will take you only a couple of clicks inside your Hepsia Control Panel. As our system is extremely flexible, you can run websites with different system requirements and decide whether they will use APC or not. For example, you could allow APC only for one version of PHP or you can do the latter for several of the versions running on the platform. In addition, you can select if all websites working with a given PHP version will use APC or whether the latter will be active only for selected websites and not for all Internet sites in the website hosting account. The last option is useful when you intend to employ a different web accelerator for some of your websites. These customizations are carried out with ease by using a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is set up on the innovative cloud hosting platform where all semi-dedicated hosting accounts are created, so you will be able to employ it regardless of the package you get. Activating the module is done through the Hepsia Control Panel and takes just a mouse click, so you won't need any skills or prior experience to take advantage of it. As you'll be able to employ several releases of PHP at the same time, you will be able to modify the software environment for every single Internet site you host in the account if necessary. A php.ini file with several lines in it placed in a domain folder will allow you to set what version of PHP this particular site will use and whether APC should be on or off for it. These settings will have priority over those for the account in general, so you can run different scripts and take advantage of various web accelerators for sites that are in the same account.