APC (PHP Opcode Cache)
What does the acronym 'APC' imply? Why is the existence of APC in your account essential as far as your PHP-based websites are concerned? How to activate this feature?
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script software applications. Dynamic PHP Internet sites hold their content inside a database that is accessed whenever a visitor opens a webpage. The content that should be viewed is gathered and the code is parsed and compiled prior to it being delivered to the website visitor. These actions take some processing time and require reading and writing on the web server for each page that is opened. While this cannot be avoided for websites with regularly changing content, there're numerous Internet sites which have the exact same content on a lot of of their pages constantly - blogs, informational portals, hotel and restaurant sites, etcetera. APC is quite useful for this type of sites because it caches the previously compiled code and displays it every time visitors browse the cached pages, so the code does not have to be parsed and compiled repeatedly. Not only will this greatly reduce the server load, but it will also raise the speed of any Internet site a few times.
-
APC (PHP Opcode Cache) in Shared Web Hosting
You'll be able to use APC for your web apps with any of the
shared web hosting plans that we provide because it's pre-installed on our cloud website hosting platform. Activating it will take just a mouse click in the Hepsia Control Panel that comes with our shared plans and several minutes later it'll begin caching the code of your apps. Our platform is extremely flexible, so you will be able to use different configurations based on the system requirements of your scripts. For instance, you'll be able to activate APC for several versions of PHP for the whole account and specify the version that each site will use, or you can have the exact same version of PHP, but activate or deactivate APC just for specified Internet sites. This is done by placing a php.ini file with a line of program code inside the domain or subdomain folder where you require 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 irrespective of the package you select. Activating the module is performed from the Hepsia Control Panel and takes just a mouse click, so you will not need any skills or prior experience to take advantage of it. As you'll be able to work with several releases of PHP simultaneously, you could modify the software environment for every single site which you host in the account if needed. A php.ini file with several lines in it placed in a domain folder will enable you to set what release of PHP this specific site will use and if APC has to be on or off for it. These settings will have priority over the ones for the account as a whole, so you could run different scripts and take advantage of different web accelerators for websites that are in the same account.