APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software applications. Dynamic PHP sites save their content in a database which is accessed whenever a visitor loads a page. The content that has to be shown is gathered and the code is parsed and compiled before it's delivered to the site visitor. All of these actions take some processing time and include reading and writing on the server for every single page that is accessed. While this cannot be avoided for sites with constantly changing content material, there're many sites which offer the very same content on many of their pages at all times - blogs, info portals, hotel and restaurant websites, etcetera. APC is very useful for such websites as it caches the already compiled code and shows it any time visitors browse the cached pages, so the code does not need to be parsed and compiled repeatedly. Not only will this minimize the server load, but it'll also increase the speed of any website many times.

APC (PHP Opcode Cache) in Shared Hosting

You can employ APC for your web applications with any of the shared hosting packages that we offer as it is pre-installed on our cloud web hosting platform. Turning it on will take only a single click inside the Hepsia Control Panel which is provided with our shared plans and a few minutes later it will begin caching the code of your apps. Our platform is quite flexible, so you will be able to use different configurations depending on the system requirements of the scripts. For example, you will be able to activate APC for several versions of PHP for the whole account and specify the version that each site can use, or you can have the exact same version of PHP, but activate or deactivate APC only for specific Internet sites. This is done by putting a php.ini file with a line of program code in the domain or subdomain folder where you need the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is installed on the state-of-the-art cloud web hosting platform where all semi-dedicated server accounts are created, so you will be able to use it whatever the plan you pick. Enabling the module is performed through the Hepsia Control Panel and takes only a click, so you won't need any skills or previous experience in order to take advantage of it. Since you will be able to use several releases of PHP simultaneously, you will be able to modify the software environment for each and every website which you host in the account if needed. A php.ini file with a couple of lines in it placed in a domain folder will allow you to set what release of PHP this specific Internet site will use and if APC has to be on or off for it. These settings will have priority over the ones for the account as a whole, so you can run different scripts and employ various web accelerators for websites which are in the same account.