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 configuration options to scripts for certain virtual hosts or directories. All the php_flags in your .htaccess will have to be moved to php.ini, which you will have to create in your public_html directory.

Example:
.htaccess php_flag register_globals on

php.ini register_globals=on

You will have to move every command on .htaccess that starts with php_flag.

Var dette svaret til hjelp?

Relaterte artikler

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...

Differences between suPHP and "regular php"

Regular PHP installation on a web server runs as the user nobody and it doesn’t require the...

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...