How do I enable/disable PHP register_globals and safe_mode?

To enable/disable register_globals and safe_mode in your account, please

  1. Create a php.ini file in the public_html/ folder of your account
  2. Add the below line in the file

    register_globals = on (or off)
    safe_mode = on (or off)

  3. Save the file
  • 10 Users Found This Useful
Was this answer helpful?

Related Articles

How to activate PHP 4?

To execute your PHP scripts with PHP 4: 1) Login to cPanel2) Under Software/Services section,...

What is the database hostname?

If your scripts are installed in our server, please use "localhost" as the database hostname. If...

Where should I install CGI scripts in my account?

All CGI scripts (.cgi, .pl files) should be uploaded to the cgi-bin folder, in your account.Be...

What kind of databases do you support?

All our hosting servers support MySQL & PostgreSQL.

How to enable some PHP functions?

For security purposes, we have disabled several PHP functions that are deemed dangerous. We do...