APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script software apps. Dynamic PHP Internet sites keep their content in a database which is accessed whenever a visitor loads a webpage. The content that should be shown is retrieved and the code is parsed and compiled before it is delivered to the visitor. All these actions need some processing time and involve reading and writing on the web server for each and every page that is loaded. While this can't be avoided for websites with constantly changing content, there're numerous Internet sites that feature the exact same content on a lot of of their webpages all of the time - blogs, info portals, hotel and restaurant websites, etc. APC is extremely useful for this type of sites since it caches the already compiled code and displays it whenever visitors browse the cached pages, so the code doesn't need to be parsed and compiled all over again. This will not only minimize the server load, but it'll also raise the speed of any website a few times.
APC (PHP Opcode Cache) in Web Hosting
You will be able to use APC for your web applications with all of the web hosting packages that we provide since it's pre-installed on our cloud web hosting platform. Turning it on will take just a click inside the Hepsia Control Panel that is provided with our shared plans and several minutes later it will begin caching the program code of your software apps. Our platform is really flexible, so you will be able to use different configurations based on the system requirements of your scripts. For instance, you will be able to activate APC for a couple of versions of PHP for the entire account and select the version that each Internet site will use, or you can have the exact same version of PHP, but enable or disable APC just for specified Internet sites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you require the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for each and every script application which is run on your new semi-dedicated server because the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account requires one click inside the Hepsia Control Panel, but if needed, you could use the module only for particular Internet sites. This is possible on account of the versatility of our cloud platform - different releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you'll be able to pick what release will be used for this specific site and whether APC has to be enabled or disabled. Using such a file enables you to use settings which are different from the ones for your account, so you could take full advantage of APC for a lot of scripts where the module can make a difference and not for others where you may employ some other type of web accelerator.