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.

Setup a per-user php.ini to allow open_basedir with suPhp

Discussion in 'General Discussion' started by itdungpt, Jun 4, 2012.

  1. itdungpt

    itdungpt Active Member

    Joined:
    Feb 21, 2012
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
  2. itdungpt

    itdungpt Active Member

    Joined:
    Feb 21, 2012
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    cpanel do not support
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  4. itdungpt

    itdungpt Active Member

    Joined:
    Feb 21, 2012
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  6. itdungpt

    itdungpt Active Member

    Joined:
    Feb 21, 2012
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    you misunderstand the problem.

    demo : -link removed-

    Open_Basedir: /home/vnseoerc:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp
    with vnseoerc = username host
     
    #6 itdungpt, Jun 5, 2012
    Last edited by a moderator: Jun 5, 2012
  7. itdungpt

    itdungpt Active Member

    Joined:
    Feb 21, 2012
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    open_basedir = ? on /usr/local/lib.php.ini
     
    #7 itdungpt, Jun 5, 2012
    Last edited: Jun 5, 2012
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Well, it's kind of hard to make out with your messages. I don't think linking to a compromised account is the best way to explain what you want either.
     
  9. itdungpt

    itdungpt Active Member

    Joined:
    Feb 21, 2012
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Setup a per-user php.ini to allow open_basedir with suPhp

    On DirectAdmin :

    edit : /usr/local/directadmin/scripts/custom/user_create_post.sh

    paste:



    on /usr/local/lib/php.ini
    set

     
    #9 itdungpt, Jun 5, 2012
    Last edited: Jun 5, 2012
  10. itdungpt

    itdungpt Active Member

    Joined:
    Feb 21, 2012
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    help me ...............................
     
  11. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm not sure what else can be done here, no reason to continue bumping the thread, the answers are here I believe. I can't comment on how directadmin does it, nor give you details on how to do it, like directadmin does it. The Documentation I've provided you links to should be what you seek. Please have another look at those and let us know whats not working for you when you do.
     
Loading...

Share This Page