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 efficient for scripts with large source code and will speed up such a website up to 3 times. PHP sites are dynamic and every time a user opens some webpage, the script connects to a database to get some content, and then the code is parsed and compiled prior to it being shown to the website visitor. In case the output code doesn't change however, that is the case with websites that display identical content at all times, these actions result in unneeded reading and writing. What APC does is that it caches the already compiled program code and delivers it each time visitors browse a site, so the database doesn't have to be accessed and the program code doesn't need to be parsed and compiled repeatedly, which in turn minimizes the Internet site loading time. The module could be extremely efficient for informational websites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Cloud Hosting

You will be able to use APC for your web apps with any of the cloud hosting plans that we provide because it's pre-installed on our cloud website hosting platform. Turning it on will take just a mouse click inside the Hepsia Control Panel that is provided with our shared plans and a few minutes later it'll start caching the code of your software apps. Our platform is very flexible, so you'll be able to use different configurations based on the system requirements of your scripts. For instance, you will be able to activate APC for several releases of PHP for the entire account and select the version that each website will use, or you could have the same version of PHP, but enable or disable APC just for particular sites. This is done by putting a php.ini file with a line of program code in the domain or subdomain folder where you need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is set up on the innovative cloud hosting platform where all semi-dedicated server accounts are made, so you could use it irrespective of the package you select. Activating the module is performed through the Hepsia Control Panel and takes only a mouse click, so you will not need any skills or prior experience to take full advantage of it. As you will be able to employ different versions of PHP at the same time, you will be able to customize the software environment for each site that you host in the account if required. A php.ini file with a couple of lines in it placed in a domain folder will allow you to set what version of PHP this particular Internet site will use and if APC needs to be on or off for it. These settings will have priority over the ones for the account in general, so you could run various scripts and employ various web accelerators for websites that are in the same account.