---
title: "How to Add PHP Modules on Dedicated Hosting"
description: "Note that you will require root access in order to use these directions. When running a Dedicated server, you may need to add PHP Modules. This allows you to add more features or specific PHP modules..."
url: https://www.inmotionhosting.com/support/website/add-php-modules-to-dedicated-server/
date: 2016-02-05
modified: 2023-07-07
author: "InMotion Hosting Contributor"
categories: ["Website"]
type: post
lang: en
---

# How to Add PHP Modules on Dedicated Hosting

*Note that you will require [root access](/support/amp/obtain-root-access/) in order to use these directions.*

When running a [**Dedicated **server](https://www.inmotionhosting.com/dedicated-servers), you may need to *add PHP Modules*. This allows you to add more features or specific PHP modules as requested by users on your Dedicated server. In this tutorial, we will show you how to add PHP Modules to a Dedicated [PHP Hosting](https://www.inmotionhosting.com/php-hosting) server. This is done from the command line using EasyApache.

## Adding PHP Modules on Dedicated Servers

1. Log into your **Dedicated** Server via [SSH](https://www.inmotionhosting.com/support/server/ssh/how-to-login-ssh/) as the “[root](https://www.inmotionhosting.com/support/amp/obtain-root-access/)” user.
2. Run the following command in your shell instance: /scripts/easyapache
3. On the next screen choose **** DEFAULT ****, then click **Tab** and choose **Customize Profile**. [![Dedicated Hosting Profile](https://www.inmotionhosting.com/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_customize-default-profile.png)](/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_customize-default-profile.png)
4. Choose your version of Apache, then click **Next Step**. [![Dedicated Apache Build](https://www.inmotionhosting.com/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_selecting-apache-build.png)](/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_selecting-apache-build.png)
5. Choose your version of PHP from the list, then click **Next Step**. [![PHP Version Selection](https://www.inmotionhosting.com/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_selecting-php-version.png)](/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_selecting-php-version.png)
6. You will see a (short) list of PHP modules, choose the ones you want to install (in my tests, I am selecting **Mod Bandwidth**). You can also click the **Exhaustive Options List** for more choices. Once you have made your selections, click **Save and Build**. [![Select PHP Modules for Dedicated](https://www.inmotionhosting.com/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_selecting-php-modules-for-dedicated-hosting-server.png)](/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_selecting-php-modules-for-dedicated-hosting-server.png)
7. A *Confirm Build* popup will come up and ask if you want to “*Recompile Apache and PHP now?*” Choose **Yes**. [![Recompiling Apache](https://www.inmotionhosting.com/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_recompile-apache-php-on-dedicated-hosting.png)](/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_recompile-apache-php-on-dedicated-hosting.png)
8. You will then see a warning about *terminating the build process*, read through and choose **I Understand** ![Acknowledge Dedicated Server update](https://www.inmotionhosting.com/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_add-php-module-acknowledgement.png) Allow some time for the build to complete. The time frame will differ based on the specific PHP Modules you are adding. You are finished when you see a *Build Complete. Done executing* message. [![Build Completed](https://www.inmotionhosting.com/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_build-complete-dedicated-hosting.png)](/support/wp-content/uploads/2016/02/dedicated-hosting_add-php-modules_build-complete-dedicated-hosting.png)

Congratulations, now you know how to Add PHP Modules to a **Dedicated server**! If you are looking for an affordable [Dedicated Server](https://www.inmotionhosting.com/dedicated-servers) plan, we offer world class support for Dedicated Server packages.
