Featured post

Learn Basics of Computer

What is Computer ? Computer is an electronic data processing machine which accepts input data from the user, stores the input data in its memory, processes the input data according to given instructions and finally gives us the desired output. What are Data ? Data are the raw facts and figures in the form of bits and bytes. What is information ? Information is processed data. Components of Computer Computer has two components. Such as: Hardware Software What is Hardware ? All the parts of computer that we can see and touch are known as hardware. Example - Keyboard, Mouse, Monitor, etc. What is Software ? A set of statements written in a programming language is known as a instruction. A set of instructions is known as a program. A set of programs is known as a software. Example - Microsoft Windows, Adobe Photoshop, Typing Master, etc. Classification of Computers Computers can be classified into three categories. Those are: According to type of dat...

Using the EasyApache 4 feature in WHM

 Table Of Contents
• Introduction
• Accessing the EasyApache 4 feature
• Review of the EasyApache 4 profiles
• Customize your EasyApache4 Profiles



Introduction
The “EasyApache 4” feature in the WHM control panel allows you to update and configure your current Apache/PHP components on the server. In addition to that, you are able to install new Apache and PHP modules/extensions along with additional software on the server such as the Ruby programming language, NodeJS, Apache Tomcat, etc.


Using the “EasyApache 4” feature, you will be able to create custom profiles that contain specific software along with the Apache/PHP configuration that you can then deploy on another server. This comes in handy if you have more than one server as the “EasyApache 4” functionality has a huge number of settings and going through all of them each time, selecting the ones you need can be very time-consuming.


In this tutorial, we will not be covering each individual component of PHP or Apache as there is simply too much to go through. The VPS/Dedicated Servers you purchased from HostArmada have “EasyApache 4” profiles that were carefully put together by our system administrators to provide our clients with the most optional settings for PHP and Apache so you will most likely never need to do anything in these regards unless your application has a very specific requirement. Let’s get started.


Accessing the EasyApache 4 feature
First, you need to log into the WHM service for your VPS or Dedicated Server. If you are not sure how to do that, please check our How to access the WHM service tutorial. After you have logged in, please use the search bar on the left side of the page and type “EasyApache 4”.


Accessing the EasyApache 4 feature


When the functionality shows up below the search bar, please click on it so you can be sent to the “EasyApache 4” page.


Review of the EasyApache 4 profiles
When you are redirected to the “EasyApache 4” page the first thing you are going to see on the top is a blue button that will have a different status. Typically, the button should say “EasyApache 4 is up to date” and it will be grayed out. This means that every component affected by this functionality is up to date. On its right side, you will find a “Help Links” dropdown, which contains useful links. When pressed they will redirect you to the cPanel documentation filled with information about “EasyApache 4”.


EasyApache 4 is up to date notice


Underneath, you will find the “Currently Installed Packages” section. On the top right side of the section, you will find two buttons - the first is the “Customize” button that will let you edit the current profile when it is pressed. The second one is the “Convert to profile” located on the right side of the “Customize” button.


Currently Installed Packages section


Pressing the “Convert to profile” button will open a window beneath this section that will allow you to convert the current configuration into a profile. This window contains 4 text fields. Let’s go over them.


Name - In this text field, please enter the name of your profile. You should use a name relevant to the settings with the profile.
Filename - This text field requires that you type in the name of the file where the profile settings will be stored. You do not need to write down its extension as the system will automatically add the JSON extension at the end.
Description - This is an optional field where you may write information about the EasyApache profile itself.
Tags - In this text field you can type in a comma-separated list of tags.


Convert to profile option


When you have typed the requested information inside the text fields, please press the “Convert” button located on the bottom left side of the window.


Below the “Currently Installed Packages” section you will find the “Available Profiles” label. On its right side, you will see an “Upload a profile” button. It will let you deploy an already created EasyApache 4 profile on the server.


Uploading a Profile


When the “Upload a profile” button is pressed it will open a window beneath the button itself. This window will have two options - “Browse a local file” or the “Retrieve from URL” option. The “Browse a local file” option will allow you to upload an EasyApache 4 profile from your local computer, whereas the “Retrieve from URL” will let you enter a URL, which leads to a JSON file containing the profile.


When you have selected the file located locally on your computer or the URL that has a JSON file at the end, please press the “Upload” button located on the left side of the window. This will upload the file and it will be shown under the “Available Profiles” section at the very bottom of the page.


New Profile uploaded screen


In the “Available Profiles” section you will see premade EasyApache 4 profiles that will be stored on the server by default. You can review them and choose the best profile that will suit the needs of your server. You will see the name of the profile, along with a list of what it contains. There will be an (i) button inside as well that will allow you to expand the row and show more details about the profile itself.


Available Profiles section


On the top right corner of each profile, you will find two buttons and a link.


Customize - Pressing this button will allow you to review all of the settings and apply your own custom changes.
Provision - Pressing this button will allow you to apply all of the settings from this profile to the server and make this EasyApache profile the “Currently Installed Package”
Download - Pressing this link will download the profile so you can store it locally on your machine.


Customize, Provision and Download Profile options


Customize your EasyApache 4 Profiles
We have gone over the index page of the “EasyApache 4” feature and you should now have a good understanding of where everything is situated. In the next paragraphs of this tutorial, we are going to be looking at the customization options for the profiles. Let’s get started.


In order to alter the profile that is currently loaded, please press the “Customize” button located inside the “Currently Installed Packages” section located on the top of the screen.


Customize Currently Installed Packages


Alternatively, you can customize one of the available profiles in the “Available Profiles” section below, by pressing the “Customize” button located inside the row corresponding to the EasyApache profile you want to edit.


When the “Customize” button is pressed, you will be forwarded to the customization page. This entire process is represented by a couple of menus and after performing changes on one menu you will be able to proceed onto the next.


EasyApache tabs overview


You can also start the customization process from a different menu or navigate between them, selecting the options you need by pressing the respective link.


Apache MPM menu
The options inside the “Apache MPM menu” will allow you to select how the web service will handle incoming requests and how it will process them.


Apache MPM tab


To select a multi-processing module, please use the toggle switch located on the row corresponding to the desired module. Note that only one MPM option may be present at a time and toggling one will disable the currently enabled MPM.


Selecting multi-processing module


When you are done, please press the “Next” button located underneath the MPM options.


Apache Modules menu
The options inside the “Apache Modules menu” will enable you to select the Apache modules you need. You will also have a search field above the modules list that will help you easily locate the desired modules by typing in their name.


Apache Modules tab


To select a module from this list, please press the toggle switch that will be on the row corresponding to the module you want to install. There will be cases when enabling one module may request that you disable another one. This will happen because they are either incompatible or they are similar in nature and will interfere with each other.


Selecting a module


When you are done, please press the “Next” button located at the bottom of the page.


PHP Versions menu
The options inside this menu will enable you to use the toggle switch to select which PHP versions can be used on your server. If you choose a version that is not currently installed, the WHM control panel will detect the installed extensions on the PHP versions and ask if you want to install them for the new version.


In order to do that, please press the “PHP X.X and Extensions” button located inside the window that will be prompted when the toggle switch is pressed.


PHP Versions tab


In addition to the option of installing all the extensions for the new version, you will have a choice to install the PHP version without any extensions when you press the “PHP X.X Only” button or you may select the “Edit” link and make your own extension list for the new PHP version you selected.


Selecting PHP Versions


When you are done, please press the “Next” button located at the bottom of the page.


PHP Extensions menu
The many options in this tab will allow you to select the PHP extensions for the PHP versions on the server. It will contain a list of the PHP extensions for all installed PHP versions. You can also use the checkboxes below the “PHP Extensions” heading to filter out the extensions based on their versions. You can use another level of filtration by typing the name of the extension in the search field under the PHP versions checkboxes.


PHP Extensions tab


To select a PHP extension from the list, please use the toggle switch on the row corresponding to the desired extension.


Selecting PHP Extensions


When you are done enabling the extensions, please press the “Next” button located on the bottom of the page.


Ruby via Passenger menu
The options inside the “Ruby via Passenger” menu will allow you to install various packages for the Ruby programming language enabling you to use it on the server.


Ruby via Passenger tab


Please select the options you need using the toggle switch corresponding to the row of the package you require.


Selecting Ruby packages


Once the desired packages are selected, please press the “Next” button located at the bottom of the page.


Additional Packages menu
At this time, the WHM control panel allows you to install two additional packages on the server. These are the NodeJS and the Apache Tomcat.


Additional packages tab


You may install them by simply clicking on the toggle switches located on the row of the desired package. When you are done, please press the “Next” button located at the bottom of the screen.


The Review menu
The “Review” menu is the final screen where you will end up after selecting all of the desired Apache/PHP/AdditionalPackages options. On the top of the page, you wee see a summary of the options you selected during the customization process.


Review tab


Scrolling down, you will see a list of the packages that will not be affected by provisioning this profile.


Review tab additional options


If you are happy with the changes you have made, please press the “Provision” button at the bottom of the page. If you want to save the profile, press the “Save as profile” button located on the right side of the “Provision” button. This will display text fields previously discussed for the “Convert to profile” paragraph. If you are unhappy with the changes, please press the “Cancel” link located on the right side of the “Save as profile” button. When the “Cancel” link is pressed, you will be taken back to the index page of the “EasyApache 4” feature.


Provision, Save as profile and Cancel options


When the “Provision” button is pressed, you will be redirected to a changelog screen that will display that the provisioning process has been started.


Provision process started screen


This process can take a few minutes to complete, as the WHM control panel is currently fetching all of the requested components from various RPMs.


Provision process completed screen


After this process is finished, you will see the “The provisioning process is complete.” text located inside a green bar. Underneath it, you will find the complete changelog of what happened in case you want to follow through with the steps.


Done button


To go back to the index page of the “EasyApache 4” functionality, please press the “Done” button located on the bottom of the screen.


This concludes our tutorial in regards to the “EasyApache 4” feature in the WHM control panel. The functionality gives room for a lot of flexibility in terms of the Apache and PHP settings on the server. Its intuitive nature allows you to easily navigate through its interface and configure the server to your liking. If you need any assistance or you are facing issues with the “EasyApache 4” feature, please do not hesitate to contact our Technical Team over the ticking system in your Client Area.

Comments

Popular posts from this blog

CakePHP 3.10 Content Management Tutorial

How to Install Croogo CMS on Ubuntu 18.04 LTS

How to Build a Dedicated Web Server : 4 Steps