open_basedir restriction in effect

Discussion in 'General' started by abintipl, Dec 26, 2011.

  1. abintipl

    abintipl Member HowtoForge Supporter

    Dear Sir,

    I have Debian Squeeze 6 with ISPCOnfig3

    I am trying to install OpenDocman on my webserver, while installation, I get an Error

    Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/etc/mime.types) is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:/var/www/mydomain.com/web:/srv/www/mydomain.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client1/web1/web/opendocman/mimetypes.php on line 24open_basedir restriction in effect

    Please advice, how to resolve this

    Thanks and regards,

    Abin
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Add /etc to the open_basedir directories on the Options tab of your website in ISPConfig.
     
  3. abintipl

    abintipl Member HowtoForge Supporter

    Open Base

    Dear Sir,

    Thank you for reply.

    Under website options of Ispconfig for
    PHP open_basedir

    are as under;

    /var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:/var/www/todaysprice.co/web:/srv/www/todaysprice.co/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin

    you mean, I should add /etc and should look like

    /etc/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:/var/www/todaysprice.co/web:/srv/www/todaysprice.co/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin

    thanks & regards,

    Abin
     
  4. falko

    falko Super Moderator Howtoforge Staff

    No - try

    Code:
    /var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:/var/www/todaysprice.co/web:/srv/www/todaysprice.co/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin[B][COLOR="Red"]:/etc[/COLOR][/B]
     

Share This Page