APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which could boost a database-driven website several times. Every time a PHP web page is opened, the script pulls the content that needs to be loaded from a database, parses and compiles the program code, and the result is displayed to the visitor. While this is necessary for sites with regularly changing content, it's a complete waste of processing time and system resources for a site which does not change, like an informational portal that shows the very same content all the time. When the webpages for such a site are compiled, APC caches them and delivers them any time a user loads them. Since this saves the time to obtain content from the database and to parse and compile the code, the site will load a lot faster. APC is very efficient in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Website Hosting

You will be able to employ APC for your web apps with all of the website hosting packages that we offer because it is pre-installed on our cloud web hosting platform. Turning it on will take just a single click in the Hepsia Control Panel which is provided with our shared solutions and several minutes later it will start caching the program code of your software applications. Our platform is quite flexible, so you will be able to use several configurations depending on the system requirements of your scripts. For instance, you will be able to activate APC for several versions of PHP for the whole account and select the version that each Internet site can use, or you could 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 require the customized setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is set up on the state-of-the-art cloud hosting platform where all semi-dedicated server accounts are made, so you'll be able to use it regardless of the plan you choose. Enabling the module is done through the Hepsia Control Panel and takes only a click, so you won't need any skills or previous experience to be able to take advantage of it. As you'll be able to work with several releases of PHP at once, you'll be able to modify the software environment for each Internet site you host in the account if needed. A php.ini file with a few lines in it placed in a domain folder will permit you to set what release of PHP this particular Internet site will use and if APC needs to be on or off for it. These settings will have priority over those for the account as a whole, so you can run different scripts and take advantage of different web accelerators for websites that are in the same account.