APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which could speed up a database-driven Internet site several times. Every time a PHP web page is accessed, the script pulls the content which needs to be loaded from a database, parses and compiles the code, and then the result is displayed to the visitor. While this is necessary for Internet sites with routinely changing content, it's a total waste of processing time and resources for a website which does not change, for instance an informational portal which shows the very same content on a regular basis. As soon as the web pages for such an Internet site are compiled, APC caches them and delivers them whenever a visitor loads 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 much faster. APC is really helpful particularly for scripts with large source code.

APC (PHP Opcode Cache) in Shared Hosting

You will be able to employ APC for your web applications with any of the shared hosting packages that we offer because it is pre-installed on our cloud web hosting platform. Activating it will take just a single click in the Hepsia Control Panel that comes with our shared solutions and several minutes later it will begin caching the code of your applications. Our platform is extremely flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For example, you'll be able to activate APC for several releases of PHP for the entire account and pick the version that each site can use, or you can have the same version of PHP, but activate or deactivate APC only for specified 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

APC is set up on the state-of-the-art cloud web hosting platform where all semi-dedicated server accounts are created, so you will be able to use it whatever the plan you select. Enabling the module is performed through the Hepsia Control Panel and takes just a mouse click, so you will not need any skills or previous experience in order to take advantage of it. As you'll be able to use several versions of PHP concurrently, you will be able to modify the software environment for each and every Internet site you host in the account if required. A php.ini file with a few lines in it placed in a domain folder will allow you to set what release of PHP this specific site will use and whether APC needs to be on or off for it. These settings will have priority over those for the account in general, so you can run different scripts and employ various web accelerators for Internet sites that are in the same account.