Alternative PHP Cache, or APC, is a module for Apache servers which is used to cache the output code of script applications. It is very effective for scripts with large source code and could speed up such a website up to 3 times. PHP websites are dynamic and every time a website visitor accesses some webpage, the script connects to a database to get some content, after that the code is parsed and compiled before it is displayed to the website visitor. If the output code doesn't change however, that is the case with Internet sites that show the very same content at all times, these actions result in unnecessary reading and writing. What APC does is that it caches the previously compiled code and delivers it every time visitors browse a site, so the database does not need to be accessed and the program code doesn't have to be parsed and compiled over and over again, which consequently reduces the Internet site loading time. The module could be pretty effective for informational Internet sites, blogs, portfolios, and many others.
APC (PHP Opcode Cache) in Hosting
You'll be able to use APC for your web apps with any of the hosting
packages that we offer because it's pre-installed on our cloud website hosting platform. Enabling it will take just a mouse click inside the Hepsia Control Panel which comes with our shared plans and several minutes later it'll begin caching the code of your software applications. Our platform is very flexible, so you'll be able to use several configurations based on the system requirements of the scripts. For example, you'll be able to activate APC for several versions of PHP for the whole account and specify the version that each Internet site will use, or you could have the same version of PHP, but enable or disable APC only for specific Internet sites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you need the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for every script application that is run on your new semi-dedicated server
since the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account takes a single click inside the Hepsia Control Panel, but if needed, you can use the module only for specific websites. This is possible due to the versatility of our cloud platform - several releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to choose what release will be used for this particular Internet site and whether APC needs to be enabled or disabled. Using such a file permits you to use settings which are different from the standard ones for the account, so you will be able to take full advantage of APC for many scripts where the module will make a difference and not for others where you may employ some other type of web accelerator.