Register Globals Setting Is Disabled.........

Discussion in 'Apache' started by madhukar_garg, Jun 5, 2007.

  1. #1
    Dear members,

    please help me.

    i am getting register_globals setting disabled warning.

    i have attached a .htaccess file with my catalog folder, i have also attached php.ini file with my catalog folder.

    my .htaccess file has code given below

    <IfModule mod_php4.c>
    php_value include_path ".:/usr/local/lib/php"
    php_admin_flag safe_mode on
    php_value register_globals on
    </IfModule>

    my php.ini file have code given below

    register_globals = ON


    i have done a lot of afforts. i have read existing topics on same problem and try for solution. but my problem is still same. i need urgent help please

    Thanks in advance
    madhukar garg
     
    madhukar_garg, Jun 5, 2007 IP
  2. grandy

    grandy Banned

    Messages:
    239
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    php.ini or .htaccess command to modify PHP Variable doesn't work if Suexec and PHPSuexec isn't installed. As this is a server side settings, thats why i think you should contact with your host to do one of these two. They can globally enable register_global or can enable Suexec and PHPSuexec so that you can use your php.ini or .htaccess to modify the variable value.

    Regards
     
    grandy, Jun 5, 2007 IP
  3. venetsian

    venetsian Well-Known Member

    Messages:
    1,105
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    168
    #3
    put that line on htaccess and remove the rest ...

    php_flag register_globals on

    Cheers,

    Venetsian
     
    venetsian, Jun 5, 2007 IP
  4. adsblog

    adsblog Active Member

    Messages:
    659
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    70
    #4
    i think when PHPSuexec is running ..you can't change variables ... :-?
    is it correct ?
     
    adsblog, Jun 5, 2007 IP
  5. grandy

    grandy Banned

    Messages:
    239
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Nope, when phpsuexec is running you can change variable using php.ini :)
     
    grandy, Jun 5, 2007 IP
  6. bin_asc

    bin_asc Active Member

    Messages:
    122
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #6
    suexec = super user exec :) ( aka root )
     
    bin_asc, Jun 10, 2007 IP