Alternative PHP Cache, or APC, is a module for Apache web servers which is employed to cache the output code of script apps. It is very useful for scripts with large source code and could accelerate such an Internet site up to three times. PHP websites are dynamic and each time a user accesses some page, the script connects to a database in order to get some content, after that the code is parsed and compiled prior to it being displayed to the website visitor. In case the output code does not change however, that is the case with sites that show identical content all of the time, such actions result in unneeded reading and writing. What APC does is that it caches the previously compiled code and delivers it every time visitors browse a site, so the database doesn't need to be accessed and the program code doesn't have to be parsed and compiled continuously, that consequently decreases the Internet site loading time. The module could be pretty helpful for informational sites, blogs, portfolios, and many others.

APC (PHP Opcode Cache) in Cloud Website Hosting

You'll be able to use APC for your web apps with any of the cloud website hosting packages that we offer because it's pre-installed on our cloud website hosting platform. Enabling it will take just a mouse click inside the Hepsia Control Panel that comes with our shared plans and several minutes later it will start caching the code of your apps. Our platform is quite flexible, so you will be able to use several configurations depending on the system requirements of the scripts. For instance, you can activate APC for several versions of PHP for the entire account and pick the version that each website will use, or you can have the same version of PHP, but enable or disable APC just for specific Internet sites. This is done by putting a php.ini file with a line of code within the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

APC is installed on the state-of-the-art cloud Internet hosting platform where all semi-dedicated hosting accounts are created, so you'll be able to employ it irrespective of the package you select. Enabling the module is done from the Hepsia Control Panel and takes only a click, so you will not need any skills or previous experience in order to take advantage of it. Since you'll be able to use different releases of PHP simultaneously, you'll be able to modify the software environment for every single website which you host in the account if necessary. A php.ini file with several lines in it placed in a domain folder will permit you to set what release of PHP this particular site will use and if APC should be on or off for it. These settings will have priority over those for the account in general, so you can run different scripts and take advantage of various web accelerators for websites that are in the same account.