APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that could boost a database-driven site several times. When a PHP page is accessed, the script pulls the site content which needs to be loaded from a database, parses and compiles the program code, and the result is shown to the visitor. While this is necessary for websites with routinely changing content, it's a total waste of processing time and system resources for a website which doesn't change, such as an informational portal which displays the exact same content at all times. Once the pages for such an Internet site are compiled, APC caches them and delivers them each time a website visitor accesses them. Since this saves the time to request content from the database and to parse and compile the program code, the website will load significantly quicker. APC is really helpful especially for scripts with large source code.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC for your web applications with any of the shared hosting packages that we provide because it's pre-installed on our cloud web hosting platform. Activating it will take only a mouse click inside the Hepsia Control Panel that is provided with our shared plans and several minutes later it will start caching the program code of your applications. Our platform is really flexible, so you will be able to use different configurations depending on the system requirements of your scripts. For example, you will be able to activate APC for several versions of PHP for the entire account and set the version that each site can use, or you can have the same version of PHP, but enable or disable APC just for specific 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 customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is installed on the innovative cloud hosting platform where all semi-dedicated hosting accounts are created, so you will be able to use it regardless of the package you get. Activating the module is performed from the Hepsia Control Panel and takes only a click, so you will not need any skills or previous experience in order to take advantage of it. As you'll be able to work with several releases of PHP at once, you will be able to customize the software environment for each and every Internet site that you host in the account if needed. A php.ini file with a couple of lines in it placed in a domain folder will permit you to set what version of PHP this particular site will use and whether APC should be on or off for it. These settings will have priority over the ones for the account in general, so you could run different scripts and use various web accelerators for websites which are in the same account.