Enabling DSO via SSH Updated on November 19, 2021 by InMotion Hosting Contributor 1 Minutes, 36 Seconds to Read While DSO is one of the oldest PHP handlers in use, it is also one of the fastest. As such, you may find yourself looking to use this PHP handler instead of suPHP. By default, DSO is installed on most CentOS servers, however, it is not enabled by default. In order to enable DSO, you must manually switch your PHP handler via the command-line interface. As this change affects everyone on your server, it is only possible to do so with root access. In this article, we will outline how to enable DSO in the command-line after it has been installed. Note that you will need root access in order to use these directions. Topics Include: Check DSO AvailabilityEnabling DSO Check DSO Availability Before enabling DSO, it is a good idea to first confirm that it is installed properly. Using the same command, we can also check to see if RUID2 is enabled. Enabling RUID2 will further enhance server performance for PHP heavy websites, but it is not recommended for use on servers with a large number of websites. As it is an older technology, it is not as efficient or secure as newer PHP handlers such as suPHP. First, log into your server via SSH. Next, run the following command to make sure your current PHP handlers are installed correctly:/usr/local/cpanel/bin/rebuild_phpconf --current Enabling DSO Now that you have confirmed that DSO is installed, you can begin the installation process. First, log into your server via SSH. Next, run the following command to change the system from your current configuration to DSO: /usr/local/cpanel/bin/rebuild_phpconf 5 none dso disableFinally, run the following command to confirm the changes have been made: /usr/local/cpanel/bin/rebuild_phpconf --current Congratulations, now you know how to enable DSO on your dedicated server! Would you rather install suPHP? Check out our guide for installing suPHP using EasyApache 4! Share this Article InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles How to SSH Into Your Shared/Reseller Server SSH Commands: The Practical Guide for Developers and Site Owners How to Connect to Your Server with SSH How to Use SCP For Secure File Transfer A Complete SSH Tutorial for Beginners How to Connect to Your Server via SSH How to View MariaDB Databases Using the Command Line How to Add SSH Keys to Your GitHub Account How to Change Directories using SSH Commands Viewing Running Processes on your Dedicated Server