All of Web Hosting Hub's servers utilize the suPHP configuration for running PHP. With suPHP, scripts (programs) are run as a CGI (Common Gateway Interface).

Why suPHP?

We utilize suPHP on our servers because it is a more secure way to run PHP scripts. In suPHP, file permissions can be set more securely. On servers where PHP runs as "nobody" files have to be set with insecure permissions like 777 or 666. This can leave your site vulnerable because it makes it easier for someone to add code and compromise your site.

On a suPHP server you can set your folder and file permissions more securely while still being able to execute scripts on your site. In the suPHP environment, your user (cPanel user name) will have the needed permissions to read, write, and execute your files.

How is suPHP Different From Mod_PHP?

Mod_PHP is a configuration where PHP runs as an Apache module. If you are coming from a host who used Mod_PHP instead of suPHP, there are a few things you will want to know about how suPHP differs from Mod_PHP:

  1. With suPHP you can easily control your account's PHP settings using a php.ini file.
  2. While SMTP mailing from scripts is recommended, it is not required. Under suPHP, if you have not set up your script to use SMTP, emails will come from your user (e.g. This email address is being protected from spambots. You need JavaScript enabled to view it. )
  3. Because file permissions should be set more securely, make sure that no files or folders have permissions set at 777 or 666. These permissions settings can cause errors on your website.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Email Address:
Phone Number:

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

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!
Need More Help?

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

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

Not a Customer?

Get web hosting from a company that is here to help.