APC, which stands for 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 website several times. When a PHP web page is opened, the script pulls the content which should be displayed from a database, parses and compiles the program code, and then the result is displayed to the site visitor. While this is necessary for websites with constantly changing content, it is a complete waste of processing time and system resources for an Internet site that doesn't change, for example an informational portal that shows the very same content on a regular basis. When the web pages for such a website are compiled, APC caches them and delivers them whenever a website visitor loads them. As this saves the time to request content from the database and to parse and compile the program code, the Internet site will load much quicker. APC is very effective in particular for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Hosting

You will be able to use APC for your web applications with all of the shared hosting packages that we offer because it is pre-installed on our cloud web hosting platform. Enabling it will take only a single click in the Hepsia Control Panel that is provided with our shared solutions and a couple of minutes later it will begin caching the program code of your applications. Our platform is very flexible, so you'll be able to use different configurations depending on the system requirements of your scripts. For instance, you can activate APC for several releases of PHP for the entire account and specify the version that each site will use, or you could have the same version of PHP, but enable or disable APC only for specific Internet sites. You can do this by placing a php.ini file with a line of code in the domain or subdomain folder where you need the customized configuration.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You will be able to use APC for each and every script application which is run on your new semi-dedicated hosting as the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account takes a single click inside the Hepsia Control Panel, but if necessary, you could use the module only for specific websites. This is possible on account of the flexibility of our cloud platform - several releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to select what release will be used for this particular site and whether APC has to be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for the account, so you will be able to take full advantage of APC for some scripts where the module can make a difference and not for others where you could take advantage of a different type of web accelerator.