The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dedicated php.ini file for each account

Discussion in 'General Discussion' started by logikstudios, Nov 5, 2006.

  1. logikstudios

    logikstudios Well-Known Member

    Joined:
    Nov 2, 2006
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    Hey.
    How would you set it so that when i create an account each account has their own php.ini file. The server i just moved from(reseller) account had the option. The reason why was that in one account i need the php safe mode turned on.\

    Thanks,
    Nathaniel
     
  2. joshstein

    joshstein Active Member

    Joined:
    Feb 23, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    PHP 5.1.x lost this functionality but PHP 5.2.x should have this fixed.

    http://bugs.php.net/bug.php?id=38714
     
    #2 joshstein, Nov 5, 2006
    Last edited: Nov 5, 2006
  3. krava

    krava Well-Known Member

    Joined:
    Sep 23, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hi,

    Try to manage PHP settings by adding:

    php_value PHP_VARIABLE VALUE

    in .htaccess files. The file must be placed in public_html.
     
  4. logikstudios

    logikstudios Well-Known Member

    Joined:
    Nov 2, 2006
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    Hi. I am using PHP 4.4.4 if that helps.
     
Loading...

Share This Page