APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP websites store their content in a database that is accessed whenever a visitor loads a page. The content which needs to be viewed is gathered and the code is parsed and compiled prior to it being delivered to the website visitor. These actions need some processing time and include reading and writing on the web server for each and every page which is loaded. While this cannot be avoided for Internet sites with regularly changing content, there are various websites which have the same content on a number of of their pages all of the time - blogs, informational portals, hotel and restaurant websites, etcetera. APC is quite useful for this type of sites because it caches the already compiled code and shows it every time visitors browse the cached webpages, so the code does not have to be parsed and compiled repeatedly. Not only will this lower the server load, but it'll also raise the speed of any Internet site many times.

APC (PHP Opcode Cache) in Hosting

APC is pre-installed on our state-of-the-art cloud platform, therefore you can use it for your web applications regardless of the hosting plan that you pick when you register. The module can be enabled through the Hepsia hosting Control Panel which is used to maintain the shared accounts and only a few minutes later it'll speed up your Internet sites as it will begin caching their code. If you wish to run sites with different system requirements or take advantage of specific web accelerators for some of them, you can customize the software environment by placing a php.ini file in the desired domain folder. This way, you can enable or disable APC not just for a specific website without affecting the other websites in the account, but also for a certain 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 for each script application which is run on your new semi-dedicated server as the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes one click inside the Hepsia Control Panel, but if necessary, you can use the module only for particular websites. This is possible due to the flexibility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can pick what version will be used for this specific website and whether APC has to be enabled or disabled. Using such a file allows you to use settings which are different from the ones for your account, so you could take full advantage of APC for a lot of scripts where the module will make a difference and not for others where you can take advantage of a different kind of web accelerator.