APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP websites save their content inside a database which is accessed whenever a visitor opens a webpage. The content which needs to be shown is retrieved and the code is parsed and compiled prior to it being delivered to the site visitor. All of these actions take some processing time and include reading and writing on the hosting server for each page that is accessed. While this can't be avoided for sites with constantly changing content, there are numerous sites which offer the same content on a lot of of their webpages all of the time - blogs, info portals, hotel and restaurant sites, etc. APC is exceptionally useful for this type of Internet sites because it caches the already compiled code and displays it whenever visitors browse the cached pages, so the code doesn't have to be parsed and compiled again. Not only will this reduce the server load, but it will also boost the speed of any website several times.
APC (PHP Opcode Cache) in Shared Website Hosting
APC is pre-installed on our next generation cloud platform, therefore you can use it for your applications regardless of the shared website hosting solution that you choose when you sign up. The module can be activated from the Hepsia internet hosting Control Panel which is used to handle the shared accounts and only a couple of minutes later it will speed up your Internet sites as it will start caching their program code. If you would like to run Internet sites with various system requirements or employ different web accelerators for some of them, you can customize the software environment by putting a php.ini file in the desired domain folder. In this way, you can enable or disable APC not only for a certain Internet site without affecting the other websites in the account, but also for a certain version of PHP because our platform is compatible with multiple versions simultaneously.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for each script application which is run on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account requires one click from the Hepsia Control Panel, but if needed, you can use the module just for specific websites. This is possible on account of the versatility of our cloud platform - different releases of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you will be able to select what release will be used for this particular Internet site and whether APC needs to be enabled or disabled. Using such a file permits you to use settings which are different from the ones for the account, so you'll be able to take full advantage of APC for many scripts where the module will make a difference and not for others where you could use some other kind of web accelerator.