APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP Internet sites save their content in a database that is accessed whenever a visitor loads a page. The content that has to be displayed is retrieved and the code is parsed and compiled before it is delivered to the site visitor. All these actions need some processing time and include reading and writing on the web server for each page which is accessed. While this can't be avoided for websites with regularly changing content material, there are various websites that present the very same content on a number of of their webpages at all times - blogs, info portals, hotel and restaurant sites, etc. APC is extremely useful for this type of sites because it caches the already compiled code and shows it whenever visitors browse the cached webpages, so the code does not have to be parsed and compiled repeatedly. Not only will this greatly reduce the server load, but it'll also raise the speed of any website a few times.

APC (PHP Opcode Cache) in Shared Web Hosting

You can employ APC for your web apps with any of the shared web hosting plans that we offer as it's pre-installed on our cloud website hosting platform. Turning it on will take just a click inside the Hepsia Control Panel that is provided with our shared solutions and several minutes later it'll begin caching the program code of your apps. Our platform is really flexible, so you'll be able to use several configurations based on the system requirements of your scripts. For instance, you could activate APC for a couple of releases of PHP for the whole account and choose the version that each Internet site can use, or you can have the very same version of PHP, but enable or disable APC only for specified Internet sites. You can do this by placing a php.ini file with a line of code within the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is set up on the amazing cloud web hosting platform where all semi-dedicated server accounts are made, so you will be able to employ it regardless of the package you get. Activating the module is done through the Hepsia Control Panel and takes just a mouse click, so you will not need any skills or prior experience to take advantage of it. As you'll be able to use several releases of PHP at once, you will be able to modify the software environment for each website you host in the account if necessary. A php.ini file with several lines in it placed in a domain folder will enable you to set what version of PHP this particular site will use and if APC should be on or off for it. These settings will have priority over the ones for the account in general, so you could run different scripts and use various web accelerators for Internet sites which are in the same account.