APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which can speed up a database-driven site several times. Every time a PHP webpage is accessed, the script pulls the content that needs to be shown from a database, parses and compiles the program code, then the result is shown to the visitor. While this is necessary for websites with constantly changing content, it's a complete waste of processing time and system resources for a website which does not change, like an informational portal which shows identical content on a regular basis. As soon as the pages for such a website 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 program code, the site will load much faster. APC is really efficient in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Shared Web Hosting
You'll be able to employ APC for your web applications with any of the shared web hosting plans that we offer since it's pre-installed on our cloud website hosting platform. Enabling it will take just a mouse click inside the Hepsia Control Panel that comes with our shared plans and a few minutes later it will start caching the program code of your applications. Our platform is rather flexible, so you will be able to use different configurations in accordance with the system requirements of your scripts. For example, you could activate APC for several releases of PHP for the whole account and choose the version that each website can use, or you could have the same version of PHP, but enable or disable APC just for specified Internet sites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you need the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take advantage of APC with all our semi-dedicated hosting packages and activating the framework is done with a mouse click in the Hepsia Control Panel, so even when you don't have any previous experience, you could use it in order to boost your websites. As the cloud internet hosting platform where the semi-dedicated accounts are set up supports multiple PHP versions, you'll have flexibility regarding the scripts and web accelerators you can use. It will take you just a click to allow APC for one or a couple of PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings that are not the same as the ones for the account as a whole, you could set what PHP release will be used and whether APC should be enabled or not. This way, one website may use APC and PHP 5.3, for instance, while another one may use some other accelerator and PHP 5.5.