Menu Close

What is suPHP?

What is suPHP?

suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.

How to change PHP handler in cPanel?

Procedure

  1. Log into WHM.
  2. Navigate to MultiPHP Manager.
  3. Click the PHP Handlers tab.
  4. Click Edit under the Actions column for the PHP version you want to change the PHP handler for and select the desired PHP handler.
  5. Click Apply to save your changes.

How do I enable suPHP?

Enabling SuPHP as the Default Handler In the WHM, go to Main » Service Configuration » Apache Configuration » PHP and SuExec Configuration, and for your specific version of PHP , select ‘suphp’ as the default handler from the dropdown list. Click Save New Configuration and you’re done!

How do I reset file and folder permissions in cPanel?

How we can change the permission via cPanel File Manager.

  1. Login to cPanel and click on File Manager . cPanel Main Page.
  2. Once inside the File Manager, select the file/directory and then click on Permissions to change the current permission.
  3. Click on Change Permission to confirm the changes.

What is mod_ruid2?

The mod_ruid2 is a suexec module for apache web server. The mod_ruid is used to provide the website an improved performance with greater security. This means the mod_ruid2 makes the websites load faster and also increase the security of the website.

How do I change file permissions in cPanel?

To change the permissions for a file or folder in cPanel, please do the following:

  1. Log in to your cPanel.
  2. Click File Manager.
  3. There are different ways to change the Permission of a file:
  4. Click the checkboxes to set the correct permissions.
  5. Click Change Permissions.

How do I fix 403 Forbidden in cPanel?

Step 1: Log into your hosting account and go to cPanel > File Manager. Step 2: Open public_html and open the wp-contents folder. Step 3: Find the folder called Plugins and rename it to Plugins_Disable. Step 4: Now check if your website to see if the 403 error has been resolved.

How do I disable modruid2?

You will want to disable mod_ruid2 and enable mod_suexec in its place.

  1. Navigate to EasyApache 4 in WHM.
  2. Customize your current profile.
  3. Navigate to “Apache Modules” and tick “mod_ruid2” off.
  4. Search for mod_suexec and enable it.
  5. Select “Review” on the left-hand side and provision the new Apache build.

What is difference between PHP-FPM and PHP?

PHP runs as an isolated service when you use PHP-FPM. Employing this PHP version as the language interpreter means requests will be processed via a TCP/IP socket, and the Nginx server handles HTTP requests only, while PHP-FPM interprets the PHP code.

What is PHP-FPM in cPanel?

PHP FastCGI Process Manager (PHP-FPM) is an alternative FastCGI daemon for PHP that allows a website to handle high loads.

What is CGI mode for PHP?

CGI (Common Gateway Interface) is a web technology and protocol that defines a way for a web server (HTTP server) to interact with external applications, e.g. PHP. CGI enhances the web server capabilities to enable dynamic content generation and processing.

How do I set permissions on a file?

Setting Permissions

  1. Access the Properties dialog box.
  2. Select the Security tab.
  3. Click Edit.
  4. In the Group or user name section, select the user(s) you wish to set permissions for.
  5. In the Permissions section, use the checkboxes to select the appropriate permission level.
  6. Click Apply.
  7. Click Okay.