1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

open base dir Uregent

Discussion in 'Plesk for Linux - 8.x and Older' started by bigd40, Apr 28, 2006.

  1. bigd40

    bigd40 Guest

    0
     
    I am try to find out why this such a big problem in php with plesk setup
    file_exists(): open_basedir restriction in effect. File(/include/lib-tk/include/system/system.php) is not within the allowed path(s): (/var/www/vhosts/exwebtechnologies.com/httpsdocs:/tmp)
    and how do you fix this so it does not come up in any php application. I know this is a plesk setup, but big problem.
     
  2. jdiehl

    jdiehl Guest

    0
     
    I have the same problem, can't find the solution. Starting to wonder if Plesk is even worth it.
     
  3. rdbartz

    rdbartz Guest

    0
     
    Worth it? You decide.

    Well, to make a long search short and make things as simple as I can, if you want to use ClamAV scanner in Moodle or some other executable program to be called by any PHP program you use in a virtual host directory:

    Just copy the executable into your httdocs...

    Once again PLESK has reminded me why we originally chose to run ISPConfig on three of our four dedicated servers.

    Or you can go to http://kb.swsoft.com/en/432 and follow its rather vague directions on to Including Directives into Web Server Configuration File and then waste hours trying to figure out just the right combination for the vhost.conf to get it to actually modify the httpd.include and thus allow PHP to call a executable in /usr/local/lib...

    Frankly, even after my phpinfo() showed that the open_basedir path included /usr/local/bin, PHP STILL did not return TRUE for file_exists()... I gave up and just decided ever time I update ClamAV I will copy clamscan into the ONE domain on this server's httpdocs dir and NEVER get another server with PLESK.

    RDB

    PS: ISPConfig lets you add directivers per directory right in the domain setups and would never ASSUME that you are too dumb to run any software that it does not install or that you should PAY even to use SpamAssassin.... GRRRRRR.
     
Loading...