How to Switch your Dedicated Server from suPHP to FastCGI Updated on November 19, 2021 by InMotion Hosting Contributor 1 Minutes, 48 Seconds to Read In this tutorial we will briefly go over how to switch your server from using suPHP to something else such as CGI, FastCGI, etc. This article already assumes that you have root access to your system. Note: You must have root access to your server to complete this guide. InMotion allows root access on all VPS Hosting and Dedicated Server plans. Check current available configurations Log into your servers command line via the root user. Run the following red command to check what options are available on your server. /usr/local/cpanel/bin/rebuild_phpconf –currentAvailable handlers: suphp fcgi cgi noneDEFAULT PHP: 5PHP4 SAPI: nonePHP5 SAPI: suphpSUEXEC: enabledRUID2: not installed Switch your server to FastCGI Log into your servers command line via the root user. Run the following red command to change the system from suPHP to FastCGI. /usr/local/cpanel/bin/rebuild_phpconf 5 none fcgi enabled[/usr/local/cpanel/scripts/set_mailman_archive_perms] Setting I/O priority to reduce system load: best-effort: prio 6[/usr/local/cpanel/scripts/set_mailman_archive_perms] Setting mailman archive permissions[/usr/local/cpanel/scripts/set_mailman_archive_perms] Continuing in the backgroundphp.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. # Fastcgi configuration for PHP5LoadModule fcgid_module modules/mod_fcgid.soMaxRequestsPerProcess 500AddHandler fcgid-script .php5 .php4 .php .php3 .php2 .phtmlFcgidWrapper /usr/local/cpanel/cgi-sys/php5 .php5FcgidWrapper /usr/local/cpanel/cgi-sys/php5 .php4FcgidWrapper /usr/local/cpanel/cgi-sys/php5 .phpFcgidWrapper /usr/local/cpanel/cgi-sys/php5 .php3FcgidWrapper /usr/local/cpanel/cgi-sys/php5 .php2FcgidWrapper /usr/local/cpanel/cgi-sys/php5 .phtml # End of autogenerated PHP configuration. Updating user configurable PHP settings.[info] recursion depth is set to: 2Restarting Apache Run the following red command to confirm the changes have been made. /usr/local/cpanel/bin/rebuild_phpconf –currentAvailable handlers: suphp fcgi cgi noneDEFAULT PHP: 5PHP4 SAPI: nonePHP5 SAPI: fcgiSUEXEC: enabledRUID2: not installed 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 Intro to Migrating your WordPress Site Data Migrating your WordPress Database Migrating WordPress Files Configuring WordPress After a Migration Testing your WordPress website after Migration How to Move WordPress from a Subfolder to the Root Directory What to expect during a mass server migration Move Your WordPress Site to a New Server Moving Websites Built with Older Technology into WordPress How to Export Your WordPress Sites