APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which could speed up a database-driven site several times. When a PHP web page is accessed, the script pulls the content which needs to be displayed from a database, parses and compiles the program code, and the result is displayed to the visitor. While this is necessary for websites with routinely changing content, it's a waste of processing time and system resources for an Internet site which does not change, like an informational portal which shows the same content all the time. As soon as the web pages for such a site are compiled, APC caches them and delivers them each time a user opens them. As this saves the time to get content from the database and to parse and compile the program code, the website will load much quicker. APC is really efficient especially for scripts with larger source code.

APC (PHP Opcode Cache) in Hosting

APC is pre-installed on our next generation cloud platform, therefore you will be able to use it for your web applications irrespective of the hosting package that you pick when you register. The module can be activated through the Hepsia hosting Control Panel that is used to handle the shared accounts and only several minutes later it will boost your sites since it will start caching their program code. If you would like to run Internet sites with various system requirements or use different web accelerators for some of them, you'll be able to customize the software environment by putting a php.ini file inside the preferred domain folder. This way, you can enable or disable APC not just for a particular website without affecting the other sites in the account, but also for a particular version of PHP because our platform supports multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for each script application which runs on your new semi-dedicated hosting as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes a single click in the Hepsia Control Panel, but if needed, you could use the module only for certain sites. This is possible on account of the flexibility of our cloud platform - several releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to choose what version will be used for this specific site and whether APC needs to be enabled or disabled. Employing such a file allows you to use settings that are different from the ones for your account, so you will be able to take full advantage of APC for a lot of scripts where the module makes a difference and not for others where you could employ a different kind of web accelerator.