Alternative PHP Cache, or APC, is a module for Apache servers that is used to cache the output code of script apps. It is very efficient for scripts with large source code and could accelerate such a site up to 3 times. PHP websites are dynamic and each time a website visitor accesses some web page, the script links to a database to get some content, then the code is parsed and compiled prior to it being displayed to the guest. If the output code doesn't change however, that's the case with Internet sites that display the same content all the time, these actions trigger unnecessary reading and writing. What APC does is that it caches the previously compiled code and delivers it whenever visitors browse a site, so the database does not need to be accessed and the code does not need to be parsed and compiled over and over again, that consequently decreases the Internet site loading time. The module can be really efficient for informational Internet sites, blogs, portfolios, and so on.

APC (PHP Opcode Cache) in Web Hosting

You will be able to use APC for your web apps with any of the web hosting packages that we provide because it's pre-installed on our cloud website hosting platform. Enabling it will take just a single click in the Hepsia Control Panel which comes with our shared plans and several minutes later it will start caching the code of your software applications. Our platform is really 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 a couple of versions of PHP for the entire account and pick the version that each website will use, or you can have the very same version of PHP, but enable or disable APC just 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 need the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is set up on the amazing cloud web hosting platform where all semi-dedicated server accounts are created, so you will be able to employ it irrespective of the plan you choose. Enabling the module is performed from 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 work with several releases of PHP concurrently, you will be able to modify the software environment for each and every website which you host in the account if required. A php.ini file with several lines in it placed in a domain folder will permit you to set what version of PHP this specific website will use and whether APC has to be on or off for it. These settings will have priority over those for the account as a whole, so you can run different scripts and take advantage of different web accelerators for Internet sites that are in the same account.