APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP websites save their content in a database which is accessed whenever a visitor loads a webpage. The content that needs to be displayed is gathered and the code is parsed and compiled before it's delivered to the site visitor. These actions need some processing time and require reading and writing on the web server for each and every page that is loaded. While this can't be avoided for sites with constantly changing content, there are many sites that have the exact same content on a number of of their webpages all the time - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is very useful for such sites since it caches the already compiled code and displays it every time visitors browse the cached webpages, so the code does not need to be parsed and compiled all over again. This will not only minimize the server load, but it'll also boost the speed of any site several times.
APC (PHP Opcode Cache) in Cloud Web Hosting
You can employ APC for your web apps with any of the cloud web 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 inside the Hepsia Control Panel which is provided with our shared solutions and a couple of minutes later it will start caching the program code of your apps. Our platform is extremely flexible, so you'll be able to use different configurations based on the system requirements of your scripts. For instance, you'll be able to activate APC for several releases of PHP for the whole account and select the version that each site can use, or you can have the same version of PHP, but activate or deactivate APC just for specific websites. 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 customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the innovative cloud web hosting platform where all semi-dedicated server
accounts are made, so you'll be able to employ it regardless of the plan you choose. Enabling the module is performed through the Hepsia Control Panel and takes only a mouse click, so you won't need any skills or prior experience in order to take full advantage of it. Since you will be able to use several versions of PHP simultaneously, you could customize the software environment for each website that 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 version of PHP this specific site will use and if APC needs to be on or off for it. These settings will have priority over those for the account in general, so you can run different scripts and employ different web accelerators for sites which are in the same account.