APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP Internet sites store their content in a database that is accessed whenever a visitor loads a page. The content that needs to be shown is gathered and the code is parsed and compiled prior to it being 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 opened. While this can't be avoided for Internet sites with regularly changing content material, there are many Internet sites that feature the very same content on many of their pages all of the time - blogs, info portals, hotel and restaurant sites, etc. APC is extremely useful for such websites since it caches the already compiled code and displays it whenever visitors browse the cached webpages, so the code does not have to be parsed and compiled repeatedly. Not only will this greatly reduce the server load, but it will also raise the speed of any website several times.

APC (PHP Opcode Cache) in Shared Hosting

You can use APC for your web applications with any of the shared hosting plans that we offer because it's pre-installed on our cloud website hosting platform. Enabling it will take just a mouse click inside the Hepsia Control Panel that comes with our shared solutions and several minutes later it'll start caching the code of your apps. Our platform is very flexible, so you'll be able to use different configurations determined by the system requirements of the scripts. For example, you will be able to activate APC for a couple of releases of PHP for the whole account and select the version that each website can use, or you could have the very same version of PHP, but enable or disable APC just for specified Internet sites. This is done by placing a php.ini file with a line of code inside the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You will be able to use APC for each and every script application which is run on your new semi-dedicated server as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account requires a single click in the Hepsia Control Panel, but if necessary, you can use the module just for specific sites. This is possible due to the flexibility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to pick what release will be used for this particular Internet site and whether APC has to be enabled or disabled. Using such a file enables you to use settings that are different from the standard ones for the 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 may use a different kind of web accelerator.