APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script applications. Dynamic PHP websites hold their content inside a database that is accessed whenever a visitor loads a webpage. The content which should be viewed is gathered and the code is parsed and compiled prior to it being delivered to the website visitor. All of these actions need some processing time and include reading and writing on the hosting server for each and every page which is loaded. While this can't be avoided for Internet sites with constantly changing content material, there are numerous websites which offer the very same content on a number of of their webpages all of the time - blogs, info portals, hotel and restaurant Internet sites, etcetera. APC is quite useful for this type of websites because it caches the previously compiled code and shows it whenever visitors browse the cached webpages, so the code doesn't need to be parsed and compiled all over again. This will not only lower the server load, but it'll also increase the speed of any site a few times.
APC (PHP Opcode Cache) in Hosting
APC is pre-installed on our state-of-the-art cloud platform, so you can use it for your applications whatever the hosting solution that you select when you register. The module can be enabled from the Hepsia web hosting Control Panel which is used to maintain the shared accounts and only a few minutes later it'll boost your sites because it will start caching their code. In case you would like to run Internet sites with different system requirements or use different web accelerators for any of them, you will be able to customize the software environment by putting a php.ini file in the desired domain folder. In this way, you could enable or disable APC not only for a specific website without affecting the remaining Internet sites in the account, but also for a specific version of PHP since our platform supports multiple versions simultaneously.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for every script application which runs on your new semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account takes a single click in the Hepsia Control Panel, but if needed, you could use the module just for particular sites. This is possible due to the flexibility of our cloud platform - several releases of PHP run on it at the same time, so with a php.ini file placed in a site folder, you can choose what release will be used for this particular Internet site and whether APC has to be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for the account, so you will be able to take advantage of APC for a lot of scripts where the module can make a difference and not for others where you could employ some other type of web accelerator.