Using the software and services section in cPanel

Apache 2.0 and newer allow you to compress content before sending it to the visitor's browser. The types of content to be compressed are specified by MIME type. This feature requires Apache's mod_deflate to function correctly.

 

How to enable mod_deflate for your website

 

Our hosting has mod_deflate enabled on all hosting servers so you can optimize your website performance by enabling this feature via your cPanel on every hosting package.

 

Further reading:

To activate content compression for your website, please login your cPanel and refer to the Software/Service section and click on the Optimize Website icon.

On the Optimize Website page you should select the MIME types which will be compressed. Compression is most efficient on text-based files such as html, xml, js and css. Still, you can enable content compression for every file type.

Be advised that enabling compression on all file types for a media-rich website including lots of images might result in slightly higher CPU consumption. When you are satisfied with your settings click on the Update Settings button.

Be advised that this tool enabled file compression by adding mod_deflate rules into the .htaccess file located under the public_html directory of your hosting account.

As an alternative method you can enable mod_deflate compression for your website by adding the following lines to your .htaccess file:

<IfModule mod_deflate.c>

# Restrict compression to these MIME types
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/js
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE image/x-icon

# Level of compression (Highest 9 - Lowest 1)

</IfModule>

 

Further reading:

Getting Familiar With the cPanel User Environment

How to Change your PHP version via cPanel

 

Todhost cPanel features support multiple PHP version on every shared hosting package. You can change your PHP version and enable or disable different PHP modules via the web-based interface in your cPanel. By the time of this tutorial, the default PHP version on our servers is PHP 5.6 but you can apply a different version for your account if your application or script requires it.

To change your PHP version, please log in your cPanel and refer to the Software and Services section and click on the Select PHP Version icon.

Via the cPanel PHP Selector interface drop down menu you can see all the available PHP versions.

To change the current version of your hosting account simply select the desired version and click on the Set as Current button. This will reload the page and gives you the option to enable or disable different PHP modules available for the desired PHP version.

We have a default PHP modules configuration which you can load by using the Use Defaults button or you can select your custom configuration and click the Save button below the modules list.

In addition to the module selector, you can edit your account php.ini file which allows you to apply custom PHP variables for your account. You can perform this via the Switch to PHP Settings button.

Via the PHP settings section, you can modify variables such as the max_execution_time and the memory_limit for your PHP executions.

Additionally, you can also easily enable the error_reporting and change upload_max_filesize.

 

Further reading:

How to Use the Hosting Features in cPanel control Panel

How to install applications

 

The auto script installer which provides you with the ability to install easily more than 300 applications via your hosting account cPanel. All Hosting Services include free fully-featured The most popular script installer is Softaculous so we will be using the example of installing with Softaculous which can be accessed from the Software/Services section.

From the Softaculous interface you can locate the desired application either by typing its name into the search bar or by browsing the category menu on the left. For the purpose of this tutorial we will show you how to install a WordPress blog on your hosting account.

First, click on the application name from the category menu to load the home screen for the specific script.

Softaculous provides detailed information for every script available including Features information, screenshots, a demo, ratings and reviews submitted by other users and detailed overview. To proceed with the installation of the desired application simply click on the Install tab at the top.

The software setup page will require a few settings to configure. You can either use the default configurations or input your custom settings. Make sure you have selected the correct domain and directory under which you would like to have your script installed.

Additionally, you can input your custom admin username and password as well as site name and description. The settings available for different applications may vary but you can review the suggested values before proceeding with the installation.

Be advised that you do not need to create a separate database for your script prior installing it via Softaculous. The auto installer will create a new database and user for you during the setup process.

When you are satisfied with your settings click on the Install button on the bottom of the page to proceed. The installation process should take just a few seconds. When the process is completed you will be provided with your application address and administrative panel URL.

For more information on how to install different applications via Softaculous you may check our tutorials section. As a part of our free technical support service we provide free application installation on all hosting packages. To request a script installation, simply login your client area and submit a script installation ticket request to get started in less than 15 minutes.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I have a full backup of account through cPanel. How do I restore it?

It is recommended that you maintain healthy backup of your website and possibly download the...

How To Create, Edit, and Delete a File in cPanel Using File Manager

This tutorial will be useful for you to understand how to create a file, edit a file or delete...

How to Create and Manage a MySQL Database

Create MySQL Database and User via cPanel The MySQL Database Wizard is another useful tool...

How do I create and remove an Addon Domain?

An add-on domain is a separate domain name that you add to your web hosting subscription with...

How to Set Up and Delete a Cron Job

A cron job allows you to run a certain command at times set by the job. For example, you could...