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.

  • Email, SSL
  • 3 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Les Også

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

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

Troubleshooting Internal Server Errors (Error 500):

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

Supporteres php_flag i htaccess filen?

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