APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which could speed up a database-driven site several times. Each time a PHP page is accessed, the script pulls the content which needs to be displayed from a database, parses and compiles the code, and then the result is shown to the site visitor. While this is necessary for Internet sites with constantly changing content, it's a total waste of processing time and system resources for an Internet site which doesn't change, for instance an informational portal that shows the exact same content at all times. When the web pages for such an Internet site are compiled, APC caches them and delivers them each time a user loads them. As this saves the time to get content from the database and to parse and compile the code, the site will load a lot quicker. APC is very efficient particularly for scripts with larger source code.
APC (PHP Opcode Cache) in Shared Hosting
You'll be able to use APC for your web applications with all of the shared hosting packages that we provide since it is pre-installed on our cloud website hosting platform. Activating it will take just a click inside the Hepsia Control Panel that is provided with our shared plans and several minutes later it'll start caching the code of your apps. Our platform is very flexible, so you will be able to use several configurations in accordance with the system requirements of the scripts. For instance, you will be able to activate APC for a couple of versions of PHP for the whole account and select the version that each site can use, or you could 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 within the domain or subdomain folder where you need the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the innovative cloud Internet hosting platform where all semi-dedicated server accounts are created, so you'll be able to use it whatever the package you pick. Enabling the module is done through the Hepsia Control Panel and takes only a mouse click, so you will not need any skills or prior experience to be able to take advantage of it. As you will be able to work with several releases of PHP concurrently, you'll be able to customize the software environment for each website which you host in the account if necessary. A php.ini file with a couple of lines in it placed in a domain folder will enable you to set what version of PHP this specific Internet 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 different web accelerators for websites which are in the same account.