APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP websites keep their content inside a database which is accessed whenever a visitor loads a webpage. The content that has to be displayed is retrieved and the code is parsed and compiled before it's delivered to the visitor. All of these actions need some processing time and involve reading and writing on the hosting server for every single page which is opened. While this can't be avoided for websites with constantly changing content, there are various websites which present the same content on many of their pages all of the time - blogs, info portals, hotel and restaurant sites, and many others. APC is really useful for this kind of 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 repeatedly. This will not only minimize the server load, but it will also raise the speed of any site a few times.
APC (PHP Opcode Cache) in Hosting
APC is provided with each hosting package that we offer and you could enable it with only a click from your Hepsia Control Panel if you'd like to use it for your web apps. A few minutes later the framework will be working and you will experience the faster loading speed of your database-driven sites. As we offer several versions of PHP which can also be selected through Hepsia, you will even be able to use APC for scripts which require different versions of PHP inside the very same account. Our next generation cloud web hosting platform is very adaptable, so in case you use a different web accelerator for any website and it interferes with APC, you could activate or deactivate the latter for a specific site only by using a php.ini file created in the domain or subdomain folder.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You’ll be able to use APC for each script application which runs on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires a single click inside the Hepsia Control Panel, but if needed, you could use the module just for certain Internet sites. This is possible due to the flexibility of our cloud platform - multiple releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can select what release will be used for this specific site and whether APC should be enabled or disabled. Using such a file permits you to use settings which are different from the standard ones for the account, so you can take full advantage of APC for many scripts where the module will make a difference and not for others where you may take advantage of a different kind of web accelerator.