APC (PHP Opcode Cache)
What does the abbreviation 'APC' mean? Why is the presence of APC in your account important as far as your PHP-based websites are involved? How can you turn on this feature?
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP sites store their content within a database that is accessed whenever a visitor opens a webpage. The content that needs to be shown is gathered and the code is parsed and compiled before it's delivered to the website visitor. All of these actions take some processing time and include reading and writing on the hosting server for each and every page that is opened. While this can't be avoided for Internet sites with constantly changing content material, there are numerous websites which feature the exact same content on a number of of their webpages all of the time - blogs, informational portals, hotel and restaurant sites, etc. APC is quite useful for this type of Internet sites as it caches the previously compiled code and displays it whenever visitors browse the cached pages, so the code does not have to be parsed and compiled all over again. Not only will this lower the server load, but it'll also boost the speed of any Internet site several times.
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 provide since it is pre-installed on our cloud web hosting platform. Enabling it will take just a mouse click in the Hepsia Control Panel which is provided with our shared plans and several minutes later it'll start caching the code of your applications. Our platform is quite flexible, so you will be able to use several configurations determined by the system requirements of your scripts. For instance, you can activate APC for a couple of releases of PHP for the entire account and set the version that each site will use, or you could have the exact same version of PHP, but activate or deactivate APC just for particular Internet sites. This is done by putting a php.ini file with a line of program code in the domain or subdomain folder where you need the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is installed on the amazing cloud Internet hosting platform where all semi-dedicated hosting
accounts are created, so you will be able to employ it whatever the package you select. Activating the module is done from the Hepsia Control Panel and takes only a click, so you will not need any skills or earlier experience to be able to take advantage of it. Since you'll be able to use different versions of PHP simultaneously, you'll be able to modify the software environment for each website that you host in the account if required. A php.ini file with several lines in it placed in a domain folder will allow you to set what release of PHP this particular website will use and if APC needs to 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 use various web accelerators for Internet sites that are in the same account.