Differences between suPHP and "regular php"

Regular PHP installation on a web server runs as the user nobody and it doesn’t require the execute flag to be enabled. The problem with regular PHP installation is that if mod_openbasedir is not installed, every user on the server will be able to read your php files because practically everyone shares the same username (nobody).

PHP Files are not meant to be read, but parsed, otherwise everyone who is able to read your php file will able to view settings that you would want to keep private, such as your MySQL username and password.

suPHP fixes this issue because it requires PHP scripts to be executed with the permissions of their owners. suPHP also fixes common file ownership issues that mostly occur with few Content Management Systems such as Joomla and also on the popular blog software: WordPress.

  • 2 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Les Også

Supporteres php_flag i htaccess filen?

Våre servere kjører suPHP for ekstra sikkerhet. Dette betyr at alle php_flag eller...

Hva gjør SuPHP?

It runs all PHP scripts as the user in whose account they reside – rather than running all...

Can I use the php_value directives in .htaccess files with suPHP?

suPHP does not support the php_value/php_admin_value directive known by mod_php to parse...

Troubleshooting Internal Server Errors (Error 500):

Whenever an internal server error occurs, the error will be added to the Error Log in cPanel....

All servers having SuPHP installed for added security

The main features of SuPHP that you should be aware of is: SuPHP does not allow files/folders...