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
  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

How to activate PHP 4?

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

Which scripting languages do you support?

Currently we support PHP 4, PHP 5, CGI (Perl) and Ruby On Rails.

What is the database hostname?

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

Do you support ASP, .NET, MSSQL and ColdFusion?

I'm sorry but currently our hosting servers are all Linux based and we do not support them.

How to enable PHP 5.3?

It is easy to enable PHP 5.3 in your web site:   Create a file .htaccess in the web folder...