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 webpage. The content which should be displayed is gathered and the code is parsed and compiled prior to it being delivered to the site visitor. All these actions take some processing time and require reading and writing on the server for every single page that is loaded. While this can't be avoided for websites with constantly changing content material, there're numerous Internet sites which present the same content on a lot of of their pages constantly - blogs, informational portals, hotel and restaurant sites, and many others. APC is quite useful for such sites since it caches the already compiled code and shows it any time visitors browse the cached webpages, so the code does not need to be parsed and compiled repeatedly. This will not only greatly reduce the server load, but it will also boost the speed of any Internet site many times.
APC (PHP Opcode Cache) in Website Hosting
You will be able to employ APC for your web apps with all of the website hosting packages that we offer because it's pre-installed on our cloud website hosting platform. Turning it on will take only a mouse click in the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it'll start caching the code of your software apps. Our platform is quite flexible, so you'll be able to use several configurations in accordance with the system requirements of your scripts. For example, you could activate APC for a couple of versions of PHP for the whole account and set the version that each Internet site can use, or you could have the same version of PHP, but enable or disable APC just for specific Internet sites. You can do this by putting a php.ini file with a line of program code inside the domain or subdomain folder where you require the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for every single script application which runs on your new semi-dedicated server since the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account requires a click inside the Hepsia Control Panel, but if necessary, you could use the module only for particular websites. This is possible due to the versatility of our cloud platform - multiple releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you'll be able to select what version will be used for this particular site and whether APC has to be enabled or disabled. Using such a file allows you to use settings that are different from the ones for your account, so you could take advantage of APC for a lot of scripts where the module makes a difference and not for others where you can take advantage of another type of web accelerator.