Register_Globals enable on local value?

Discussion in 'Apache' started by dxflw, Jan 31, 2010.

  1. #1
    Hello,

    Does any body knows how to enable register globals?

    I have change on debian server the php.ini "register_globals =" to ON but the oscommerce works still not.
    I have created a php info file an the master value of register globals is ON but the local value is off.

    Any help how to enable the local value?

    Thanks.
     
    dxflw, Jan 31, 2010 IP
  2. happpy

    happpy Well-Known Member

    Messages:
    926
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    120
    #2
    you must restart your webserver for changes to take effect
     
    happpy, Jan 31, 2010 IP
  3. dxflw

    dxflw Member

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    you mean apache? if yes i have ready done but nothing changes..
     
    dxflw, Jan 31, 2010 IP
  4. happpy

    happpy Well-Known Member

    Messages:
    926
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    120
    #4
    oh sorry read only half of your post.

    you can set local value by htaccess
    php_flag register_globals on
    or in a "local php.ini" as some hosts use
     
    happpy, Jan 31, 2010 IP
  5. dxflw

    dxflw Member

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #5
    where sould i upload the file? i use vhost and debian server.
     
    dxflw, Jan 31, 2010 IP
  6. dxflw

    dxflw Member

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #6
    where is "local php.ini"? (etc/php5/apache2/...?)
     
    dxflw, Jan 31, 2010 IP
  7. dxflw

    dxflw Member

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #7
    also i try your methods in the etc/php5/apache2/php.ini and with a .htaccess file but dont works.
    Were is located the php.ini for the Local value do you know?
     
    dxflw, Jan 31, 2010 IP
  8. happpy

    happpy Well-Known Member

    Messages:
    926
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    120
    #8
    in the web root of your domain

    cant exactly remember,, i dont use apache webserver for a long time

    google it...
     
    happpy, Jan 31, 2010 IP
  9. hostechsupport

    hostechsupport Well-Known Member

    Messages:
    413
    Likes Received:
    23
    Best Answers:
    7
    Trophy Points:
    138
    #9
    Hello,

    You can enable register_globals in your php.ini file or .htaccess file.
     
    hostechsupport, Jan 31, 2010 IP