j tan()JTAN

Managing your Web Site

Q: How do I change PHP settings?

JTAN runs the latest version of PHP with the latest recommended php.ini file settings. Some webmasters want different settings than these recommendations. Since JTAN allows overrides in a .htaccess file, PHP settings can be changed with a .htaccess file. This is an ordinary text file that you put in the same directory as your web site.

For example, if you want to turn off error reports, you can have a file like this

  php_flag error_reporting false
  php_flag display_errors false

Or maybe you want to use the ill advised global variable feature. If so, you can add

  php_flag register_globals on
to your .htaccess file.

The php_flag directive is for true/false boolean settings. For settings that take an actual value, use php_value.

More information is here.

FAQ Table of Contents

Services  |  Resources  |  Contact  |  News  |  Members  |  Signup


() Copyright © 1991-2014
All rights reserved
All use of this site subject to terms.