APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that can boost a database-driven website several times. Any time a PHP webpage is opened, the script pulls the content that needs to be loaded from a database, parses and compiles the code, and then the result is displayed to the website visitor. While this is necessary for websites with constantly changing content, it is a waste of processing time and system resources for a website that doesn't change, such as an informational portal which shows the exact same content all the time. As soon as the pages for such a site are compiled, APC caches them and delivers them whenever a visitor opens them. Since this saves the time to obtain content from the database and to parse and compile the program code, the Internet site will load a lot faster. APC is very helpful in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Web Hosting

You can use APC for your web apps with all of the web hosting plans that we offer because it's pre-installed on our cloud web hosting platform. Turning it on will take only a single click inside the Hepsia Control Panel which is provided with our shared solutions and a few minutes later it'll begin caching the program code of your software applications. Our platform is quite flexible, so you will be able to use several configurations based on the system requirements of the scripts. For instance, you can activate APC for a couple of versions of PHP for the entire account and set the version that each Internet site can use, or you can have the same version of PHP, but enable or disable APC only for specific sites. This is done by putting a php.ini file with a line of program code inside the domain or subdomain folder where you need the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is installed on the state-of-the-art cloud web hosting platform where all semi-dedicated server accounts are created, so you could employ it regardless of the plan you pick. Activating the module is performed from the Hepsia Control Panel and takes just a click, so you won't need any skills or prior experience to be able to take full advantage of it. As you will be able to employ different versions of PHP concurrently, you'll be able to customize the software environment for each site you host in the account if required. 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 Internet site will use and if APC needs to be on or off for it. These settings will have priority over the ones for the account in general, so you can run various scripts and employ different web accelerators for Internet sites that are in the same account.