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.

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

Differences between suPHP and "regular php"

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

Din egen php.ini fil

På alle våre webhotell, er det mulig å endre samtlige konfigurasjoner i forhold...

Hva gjør SuPHP?

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

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