HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


How to – PHP Accelerators on Business Servers

Our Business servers are equipped with a specific menu called PHP Tweaks that allows performing different adjustments to PHP configuration like switching versions, loading additional modules and PHP extensions to burst up a website's performance, etc.

In this article we will explain the role and usefulness of PHP Accelerators.


What is PHP Accelerator and why do I need it?

PHP is considered to be a programming language with the average performance rate. So sometimes, you may run into a problem when a PHP script is not optimized or not coded efficiently enough to show good performance. PHP Accelerators are specific PHP extensions designed to improve the performance of applications/websites written in PHP.


How do they work?

In order to understand the way Accelerators work, letâ$™s find out how PHP scripts are usually processed by an interpreter.

Here are the steps taken by the interpreter to process a usual PHP script:

1. Lexical Analysis (converts the source code from a sequence of human-readable characters into a sequence of tokens)
2. Syntax Analysis (analyzes a sequence of tokens to determine their grammatical structure)
3. Bytecode Generation (generates bytecode based on the information gathered from analyzing the source code)
4. Bytecode Execution
5. Output

In this case, the bytecode generation is handled periodically which takes a lot of time for script processing.
What Accelerator does is that it catches the generated bytecode and stores it in memory to have instant access to it during the next bytecode generation.

Below you can find a simple presentation of the process running with/without Accelerators:




What PHP Accelerators do you provide?

Currently, our Business servers are equipped with the following PHP Accelerators: xCache, eAccelerator, APC Cache.In order to enable them, you need to do the following:


for cPanel Basic theme:

1. Log into the cPanel.
2. Click on the PHP Tweaks menu in the Exclusive for Namecheap Customers section:
 


3. Choose the domain to perform changes for in the Select domain drop-down menu and enable the required option in the Caches section:




for cPanel Retro theme:

1. Log into the cPanel.
2. Click on the PHP Tweaks menu in the Exclusive for Namecheap Customers section:
 


3. Choose the domain to perform changes for in the Select domain drop-down menu and select the required PHP Cache in the Caches section:
 
 

That's it!



            Need any help? Contact our Helpdesk
 

 

 

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 12345
6789101112
13141516171819
20212223242526
27282930 

Born in 2004 ... Trusted By Clients n' Experts

SEO Stars

They never made me feel silly for asking questions. Help me understand how to attract more people and improve my search engine ranking.

Read More

Emily Schneller Manager at Sabre Inc
SEO Stars

Took advantage of Hostseo's superb tech support and I must say, it is a very perfect one. It is very fast, servers reliability is incredible.

Read More

Leena Mäkinen Creative producer
SEO Stars

We're operating a worldwide network of servers with high quality standards requirements, we’ve choose hostseo to be our perfect partner.

Read More

Ziff Davis CEO at Mashable
SEO Stars

It’s very comfortable to know I can rely about all technical issues on Hostseo and mostly that my website and emails are safe and secured here.

Read More

Isaac H. Entrepreneur
SEO Stars

With hostseo as a hosting partner we are more flexible and save money due to the better packages with great pricing, free SEO n' free SSL too!

Read More

Madeline E. Internet Professional