APC (PHP Opcode Cache)
Find what the phrase ‘APC’ is short for, what exactly APC is capable of doing PHP efficiency-wise and the ways to enable it for your account.
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which could speed up a database-driven site several times. Each time a PHP webpage is accessed, the script pulls the content which has to be displayed from a database, parses and compiles the program code, and then the result is displayed to the visitor. While this is necessary for sites with frequently changing content, it's a waste of processing time and system resources for a site which doesn't change, such as an informational portal that shows the same content on a regular basis. As soon as the webpages for such a website are compiled, APC caches them and delivers them each time a website visitor accesses them. Since this saves the time to obtain content from the database and to parse and compile the program code, your website will load significantly quicker. APC is really useful especially for scripts with larger source code.
APC (PHP Opcode Cache) in Shared Website Hosting
APC is pre-installed on our leading-edge cloud platform, therefore you can use it for your web applications irrespective of the shared website hosting
plan that you select when you join us. The module can be enabled from your Hepsia hosting Control Panel that is used to control the shared accounts and only a couple of minutes later it will boost your sites because it'll begin caching their code. In case you wish to run Internet sites with different system requirements or employ specific web accelerators for some of them, you'll be able to customize the software environment by placing a php.ini file inside the preferred domain folder. This way, you can enable or disable APC not only for a specific Internet site without affecting the remaining websites in the account, but also for a specific version of PHP because our platform is compatible with multiple versions at the same time.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC with our semi-dedicated server
plans and activating this framework is done with a click inside the Hepsia Control Panel, so even when you lack prior experience, you can use it in order to quicken your sites. As the cloud hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP versions, you'll have freedom with regards to 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 versions and by using a php.ini file in the domain/subdomain folders where you need settings which are different from the ones for the account as a whole, you will be able to set what PHP release will be used and whether APC needs to be allowed or not. This way, one Internet site could use APC and PHP 5.3, for example, and another one could use another accelerator and PHP 5.5.