Results 1 to 3 of 3

Thread: PHP Open_basedir Error

  1. #1
    Join Date
    Feb 2008
    Posts
    7

    PHP Open_basedir Error

    I keep getting errors on my sites saying Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. I have gone in php.ini and modded out this line but when apache restarts i get the same error. anyone have any idea how to fix this

  2. #2
    Join Date
    Feb 2008
    Posts
    7
    ok fixed the the issue by going to /usr/local/directadmin/data/users/$USER/httpd.conf then modding out:
    # php_admin_flag safe_mode OFF
    # php_admin_value open_basedir /home/admin/:/tmp:/usr/local/lib/php/

  3. #3
    Join Date
    Aug 2008
    Posts
    1
    That way will work temporarily (until DirectAdmin updates the custom user httpd.conf), then you'll have to do it again.

    Do it this way:

Similar Threads

  1. open_basedir restriction error on DirectAdmin
    By lkbryant in forum General Technical Discussion & Troubleshooting
    Replies: 3
    Last Post: 05-20-2011, 07:13 AM
  2. open_basedir restriction error on DirectAdmin
    By arazit in forum DirectAdmin General Discussion
    Replies: 1
    Last Post: 10-21-2009, 06:04 AM
  3. Open_basedir+phpmyadmin error
    By omern in forum System-Level Technical Discussion
    Replies: 2
    Last Post: 07-05-2007, 09:20 AM
  4. Safe_mode or Open_basedir error ?!!
    By rgomes in forum General Technical Discussion & Troubleshooting
    Replies: 0
    Last Post: 12-05-2006, 04:13 AM
  5. open_basedir
    By thoroughfare in forum System-Level Technical Discussion
    Replies: 29
    Last Post: 10-17-2006, 06:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •