APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP websites hold their content inside a database which is accessed whenever a visitor loads a page. The content which needs to be viewed is gathered and the code is parsed and compiled prior to it being delivered to the visitor. These actions need some processing time and require reading and writing on the server for each and every page that is opened. While this can't be avoided for Internet sites with constantly changing content, there're various sites that offer the same content on many of their pages constantly - blogs, informational portals, hotel and restaurant sites, and many others. APC is really useful for this kind of Internet sites since it caches the already compiled code and displays it whenever visitors browse the cached pages, so the code does not have to be parsed and compiled all over again. Not only will this decrease the server load, but it will also raise the speed of any site several times.
APC (PHP Opcode Cache) in Website Hosting
You'll be able to use APC for your web applications with all of the website hosting plans that we provide because it is pre-installed on our cloud website hosting platform. Enabling it will take only a click inside the Hepsia Control Panel which is provided with our shared solutions and a couple of minutes later it'll begin caching the code of your software apps. Our platform is extremely flexible, so you'll be able to use different configurations in accordance with the system requirements of your scripts. For instance, you could activate APC for a couple of releases of PHP for the whole account and specify the version that each website will use, or you can have the same version of PHP, but enable or disable APC just for specific sites. You can do this by placing a php.ini file with a line of code within the domain or subdomain folder where you need the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take advantage of APC with our semi-dedicated hosting packages and activating the framework is performed with a click in the Hepsia Control Panel, so even if you have no previous experience, you could use it to accelerate your websites. As the cloud internet hosting platform where the semi-dedicated accounts are created supports multiple PHP releases, you will have flexibility with regards to the scripts and web accelerators you could employ. It will take you only a click to activate APC for one or a couple of PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings which are different from the ones for the account in general, you can set what PHP release will be used and whether APC needs to be allowed or not. This way, one site can use APC and PHP 5.3, for example, whereas another one can use some other accelerator and PHP 5.5.