1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Howto change php settings for a subdomain only ?

Discussion in 'Plesk for Linux - 8.x and Older' started by fgilain, Oct 4, 2006.

  1. fgilain

    fgilain Guest

    0
     
    Hi all,

    I need to change 2 settings for 1 of my subdomains because website was developped on a computer that has another php.ini settings..

    here is what i need to change :

    magic_quotes_gpc should become on instead of off
    safe_mode should become off instead of on

    what is the best solution to do it and avoid changing anything to other domains/site that i already host ?

    Thanks

    Florent
     
  2. Highland

    Highland Guest

    0
     
    Do a search for vhost.conf. You'll need to make one to change settings for a domain by itself
     
  3. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    Another way is to add a .htaccess file to the subdomain's root directory with php arguments like:

    php_value magic_quotes_gpc 1
     
Loading...