Results 1 to 6 of 6

Thread: Need help with Open_basedir for suphp

  1. #1
    Member
    Join Date
    May 2005
    Posts
    235

    Default Need help with Open_basedir for suphp

    I have enabled open_basedir in the php.ini file (suphp setup).

    I want to exclude the /home/username/ directory for all accounts. I know where to exclude it, but dont know how to write the username so it changes for each account (ex. /home/user1 and /home/user2)


    Thanks

  2. #2
    Member
    Join Date
    Jan 2008
    Posts
    141

    Default

    you should try this

    WHM --> Security --> Security Center --> PHP open_basedir Tweak

    this function can help you enable/disable open_basedir and choose which user exclude protection.

  3. #3
    Member
    Join Date
    May 2005
    Posts
    235

    Default

    Quote Originally Posted by thewebhostingdi View Post
    you should try this

    WHM --> Security --> Security Center --> PHP open_basedir Tweak

    this function can help you enable/disable open_basedir and choose which user exclude protection.
    That does not work with suphp

  4. #4
    Member
    Join Date
    Nov 2008
    Posts
    186

    Default

    Sorry to bump, I'm also interested in knowing how to implement open_basedir with suPHP

  5. #5
    Member
    Join Date
    Sep 2006
    Posts
    144
    cPanel/WHM Access Level

    Website Owner

    Default

    The way that suPHP works I think you do not need open_basedir at all.

  6. #6
    Member
    Join Date
    May 2003
    Location
    Acequias :: Granada :: España
    Posts
    210
    cPanel/WHM Access Level

    DataCenter Provider

    Default Re: Need help with Open_basedir for suphp

    All people think taht SuPHP it's a panacea for hacking.... If your app has a bug for trasnversal directory or injection code, and put a shell, your invite has control for see all system.

    See it's not read, but... see can to be dangerous.

    SuPHP+ openbasedir, it's best solution.

Similar Threads

  1. suphp & php.ini & open_basedir
    By rlshosting in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 03-10-2012, 01:52 PM
  2. open_basedir and suPHP
    By chrismfz in forum Security
    Replies: 1
    Last Post: 05-02-2011, 01:30 PM
  3. Need help with Open_basedir for suphp
    By zigzam in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 02-16-2010, 03:52 AM
  4. open_basedir
    By daltonc in forum Security
    Replies: 3
    Last Post: 10-13-2006, 03:19 PM
  5. open_basedir
    By Radio_Head in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 11-02-2002, 02:56 AM