Skip to main content

what is the best way to modify open_basedir restriction to allow authorized items

Comments

4 comments

  • SS-Maddy
    Hello Disabling open_basedir restriction through .htaccess is not possible. open_basedir can only be set by inside the php.ini or httpd.conf. You may need to change the httpd directive or change the php handler to SuPHP from DSO to disable it.
    0
  • durangod
    ok thanks so much.. :)
    0
  • server9host
    Hello, Also you can you create custom php.ini to enable "open_basedir" for particular user and disable on server using suPHP. You just need to create custom php.ini in you user home directory and put below code in .htaccess file : suPHP_ConfigPath /home/username/public_html/
    0
  • cPanelMichael
    Hello :) I am happy to see you were able to address the issue. Thank you for updating us with the outcome in your original post.
    0

Please sign in to leave a comment.