APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP sites save their content within a database that is accessed whenever a visitor loads a webpage. The content that should be viewed is gathered and the code is parsed and compiled before it's delivered to the site visitor. All these actions take some processing time and include reading and writing on the server for every single page which is loaded. While this cannot be avoided for sites with constantly changing content material, there are a lot of websites that offer the exact same content on many of their pages at all times - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is very useful for such Internet sites since it caches the previously compiled code and shows it whenever visitors browse the cached webpages, so the code does not need to be parsed and compiled all over again. This will not only lower the server load, but it will also increase the speed of any site several times.
APC (PHP Opcode Cache) in Website Hosting
You'll be able to employ APC for your web applications with all of the website hosting packages that we offer since it is pre-installed on our cloud web hosting platform. Activating it will take only a mouse click inside the Hepsia Control Panel that comes with our shared solutions and a few minutes later it'll begin caching the code of your apps. Our platform is very flexible, so you will be able to use several configurations based on the system requirements of the scripts. For example, you can activate APC for a couple of versions of PHP for the whole account and select the version that each site will use, or you could have the very same version of PHP, but enable or disable APC just for particular Internet sites. This is done by placing a php.ini file with a line of program code in the domain or subdomain folder where you require the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for each script application which is run on your new semi-dedicated server since the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the account requires one click in the Hepsia Control Panel, but if needed, you could use the module only for particular sites. This is possible as a result of the flexibility of our cloud platform - multiple releases of PHP run on it simultaneously, so with a php.ini file placed in a site folder, you can pick what release will be used for this specific site and whether APC has to be enabled or disabled. Using such a file permits you to use settings which are different from the standard ones for your account, so you will be able to take full advantage of APC for a lot of scripts where the module will make a difference and not for others where you could take advantage of a different type of web accelerator.