APC, which is short 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 Internet site several times. Any time a PHP webpage is accessed, the script pulls the content that should be loaded from a database, parses and compiles the code, and the result is displayed to the site visitor. While this is necessary for websites with constantly changing content, it is a waste of processing time and resources for a site that doesn't change, such as an informational portal that displays the very same content on a regular basis. When the pages for such an Internet site are compiled, APC caches them and delivers them each time a user loads them. As this saves the time to request content from the database and to parse and compile the code, the website will load significantly faster. APC is very efficient particularly for scripts with larger source code.
APC (PHP Opcode Cache) in Hosting
APC is available with every single hosting package that we offer and you can enable it with just a click through your Hepsia Control Panel if you'd like to use it for your web applications. Several minutes later the framework will be working and you'll be able to take advantage of the considerably quicker loading speed of your database-driven websites. As we provide several releases of PHP that could also be selected through Hepsia, you'll even be able to to employ APC for scripts that require different versions of PHP within the same account. Our cutting-edge cloud Internet hosting platform is extremely flexible, so in case you use a different web accelerator for any Internet site and it interferes with APC, you'll be able to activate or deactivate the aforementioned for a specific site only by using a php.ini file generated in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can use APC with our semi-dedicated hosting plans and activating the framework is done with a click in the Hepsia Control Panel, so even when you have no prior experience, you could use it to speed up your sites. As the cloud 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 could employ. It will take you only 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 can set what PHP version will be used and whether APC needs to be enabled or not. This way, one website can use APC and PHP 5.3, for instance, whereas another one may use some other accelerator and PHP 5.5.