APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that could boost a database-driven site several times. Every time a PHP page is opened, the script pulls the site content that has to be shown from a database, parses and compiles the code, and the result is shown to the website visitor. While this is necessary for sites with frequently changing content, it's a complete waste of processing time and system resources for a website which does not change, for instance an informational portal that displays the exact same content at all times. As soon as the webpages for such a website are compiled, APC caches them and delivers them each time a visitor opens them. As this saves the time to collect content from the database and to parse and compile the code, your Internet site will load considerably faster. APC is really helpful especially for scripts with large source code.
APC (PHP Opcode Cache) in Cloud Website Hosting
You'll be able to use APC for your web applications with any of the cloud website hosting plans that we offer because it's pre-installed on our cloud website hosting platform. Turning it on will take just a click in the Hepsia Control Panel that is provided with our shared solutions and several minutes later it will begin caching the program code of your applications. Our platform is really flexible, so you will be able to use different configurations based on the system requirements of the scripts. For example, you'll be able to activate APC for a couple of versions of PHP for the entire account and select the version that each website will use, or you can have the very same version of PHP, but enable or disable APC only for specific websites. This is done by placing a php.ini file with a line of program code inside the domain or subdomain folder where you need the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the state-of-the-art cloud hosting platform where all semi-dedicated server accounts are made, so you could use it whatever the package you pick. Activating the module is done through the Hepsia Control Panel and takes just a mouse click, so you will not need any skills or earlier experience to take advantage of it. As you'll be able to employ several releases of PHP at once, you'll be able to modify the software environment for each site you host in the account if required. A php.ini file with several lines in it placed in a domain folder will permit you to set what release of PHP this specific 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 various scripts and employ different web accelerators for websites which are in the same account.