1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Plesk php.ini

Discussion in 'Site & Server Administration' started by Kalyse, Jun 26, 2007.

  1. #1
    I am looking to be able to set register_global to on only for a single subdomain. I dont want to have it set in the whole php.ini to affect ever virtual host.

    How can I accomplish this in the easiest way. I am not running PHP as cgi.

    I dont know the way Plesk manages things, but is there a single Config for each domain or subdomain so I can do this.

    I have to do this because Modernbill doesnt work without having Register Globals set to on, but then my actual normal site break.
     
    Kalyse, Jun 26, 2007 IP
  2. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try putting a php.ini with "register_globals on" in the respective directory.

    Or you can try using "php_flag register_globals 1" in .htaccess file at the directory.
     
    agnivo007, Jun 26, 2007 IP
  3. Kalyse

    Kalyse Peon

    Messages:
    1,221
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I complete forgot about the vhost.conf also.
     
    Kalyse, Jun 27, 2007 IP