APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which could speed up a database-driven Internet site several times. Every time a PHP webpage is opened, the script pulls the content which has to be shown from a database, parses and compiles the code, and the result is displayed to the website visitor. While this is necessary for Internet sites with frequently changing content, it's a total waste of processing time and system resources for a site that doesn't change, such as an informational portal that shows the exact same content all the time. When the webpages for such a website are compiled, APC caches them and delivers them any time a user accesses them. As this saves the time to get content from the database and to parse and compile the code, the website will load significantly quicker. APC is very efficient in particular for scripts with massive source code.
APC (PHP Opcode Cache) in Hosting
You will be able to use APC for your web applications with any of the hosting packages that we provide as it is pre-installed on our cloud web hosting platform. Activating it will take only a click in the Hepsia Control Panel which is provided with our shared plans and a couple of minutes later it will begin caching the program code of your apps. Our platform is extremely flexible, so you'll be able to use several configurations in accordance with the system requirements of your scripts. For example, you can activate APC for several versions of PHP for the whole account and specify the version that each Internet site will use, or you can have the same version of PHP, but enable or disable APC just for particular 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 setup.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is installed on the innovative cloud Internet hosting platform where all semi-dedicated hosting accounts are created, so you will be able to employ it whatever the plan you select. Activating the module is done from the Hepsia Control Panel and takes just a mouse click, so you will not need any skills or earlier experience to take full advantage of it. As you will be able to use several versions of PHP at the same time, you could modify the software environment for each Internet site you host in the account if needed. A php.ini file with several lines in it placed in a domain folder will permit you to set what release of PHP this particular website will use and whether APC should be on or off for it. These settings will have priority over the ones for the account as a whole, so you can run various scripts and employ different web accelerators for sites that are in the same account.