Alternative PHP Cache, or APC, is a module for Apache web servers which is used to cache the output code of script applications. It is very useful for scripts with large source code and will boost such a site up to 3 times. PHP websites are dynamic and every time a visitor accesses some web page, the script connects to a database in order to retrieve some content, and then the code is parsed and compiled prior to it being displayed to the website visitor. If the output code doesn't change however, that is the case with Internet sites that display identical content all the time, such actions result in unneeded reading and writing. What APC does is that it caches the previously compiled program code and delivers it each time visitors browse a website, so the database does not need to be accessed and the program code doesn't have to be parsed and compiled repeatedly, which consequently minimizes the website loading time. The module could be quite helpful for informational sites, blogs, portfolios, etc.

APC (PHP Opcode Cache) in Web Hosting

You will be able to employ APC for your web apps with any of the web hosting plans that we offer since it is pre-installed on our cloud website hosting platform. Turning it on will take only a mouse click inside the Hepsia Control Panel which is provided with our shared solutions and a few minutes later it will start caching the code of your apps. Our platform is really flexible, so you will be able to use different configurations depending on the system requirements of the scripts. For instance, you can activate APC for a couple of versions of PHP for the entire account and specify the version that each site can use, or you can have the same version of PHP, but enable or disable APC only for specific websites. This is done by putting a php.ini file with a line of code inside the domain or subdomain folder where you require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is set up on the state-of-the-art cloud Internet hosting platform where all semi-dedicated server accounts are created, so you could employ it regardless of the plan you select. Enabling the module is done through the Hepsia Control Panel and takes just a click, so you will not need any skills or prior experience to take advantage of it. As you'll be able to employ different versions of PHP simultaneously, you will be able to customize the software environment for each site which you host in the account if needed. A php.ini file with a few lines in it placed in a domain folder will enable you to set what release of PHP this specific website 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 can run different scripts and use different web accelerators for websites that are in the same account.