Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    56
    cPanel Access Level:
    Website Owner
  2. itdungpt

    itdungpt Active Member

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

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,173
    Likes Received:
    371
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. itdungpt

    itdungpt Active Member

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

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,173
    Likes Received:
    371
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. itdungpt

    itdungpt Active Member

    Joined:
    Feb 21, 2012
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    56
    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:
    56
    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:
    16,173
    Likes Received:
    371
    Trophy Points:
    583
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. itdungpt

    itdungpt Active Member

    Joined:
    Feb 21, 2012
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    56
    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:
    56
    cPanel Access Level:
    Website Owner
    help me ...............................
     
  11. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,173
    Likes Received:
    371
    Trophy Points:
    583
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice