InMotion Hosting Support Center

Note that you will need root access in order to use these directions.

This tutorial will explain how to enable DSO + Mod RUID2 after it has been installed. This guide requires that you are logged into the command line interface with your root user.

Check to make sure DSO is available and RUID2 is enabled

  1. Log into your servers command line via the root user.
  2. Run the following red command make sure everything is installed correctly.
    root@dedicated [~]# /usr/local/cpanel/bin/rebuild_phpconf --current
    Available handlers: suphp dso cgi none
    DEFAULT PHP: 5
    PHP4 SAPI: none
    PHP5 SAPI: suphp
    SUEXEC: enabled
    RUID2: enabled

Switch your server to DSO

  1. Log into your servers command line via the root user.
  2. Run the following red command to change the system from your current configuration to DSO.
    root@dedicated [~]# /usr/local/cpanel/bin/rebuild_phpconf 5 none dso disabled
    [/usr/local/cpanel/scripts/set_mailman_archive_perms] Setting I/O priority to reduce system load: none: prio 4
    [/usr/local/cpanel/scripts/set_mailman_archive_perms] Setting mailman archive permissions
    [/usr/local/cpanel/scripts/set_mailman_archive_perms] Continuing in the background
    php.conf updated to:

    # This file was automatically generated by the Cpanel PHP Configuration system
    # If you wish to change the way PHP is being handled by Apache on your system,
    # use the /usr/local/cpanel/bin/rebuild_phpconf script or the WHM interface.
    #
    # Manual edits of this file will be lost when Apache is updated.


    # Disable Suexec in all virtualhosts
    LoadModule disable_suexec_module modules/mod_disable_suexec.so

    # LibPHP5 configuration
    LoadModule php5_module modules/libphp5.so
    AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml

    # End of autogenerated PHP configuration.


    Updating user configurable PHP settings.
    [info] recursion depth is set to: 2
    Restarting Apache
  3. Run the following red command to confirm the changes have been made.
    root@dedicated [~]# /usr/local/cpanel/bin/rebuild_phpconf --current
    Available handlers: suphp dso cgi none
    DEFAULT PHP: 5
    PHP4 SAPI: none
    PHP5 SAPI: dso
    SUEXEC: not installed
    RUID2: enabled

Congratulations, now you know how to enable DSO on your Dedicated server.

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

   
Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!