open_basedir and perl

Discussion in 'Installation/Configuration' started by vistree, Dec 16, 2009.

  1. vistree

    vistree Member

    Hi, I installed a typo3 site on isp3.
    Problem: if I try to open the internal awstat, I get the following error:
    Code:
    Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/usr/bin/perl) is not within the allowed path(s)
    Is there a way to solve this?

    Kind regards

    Kai
     
  2. till

    till Super Moderator

    You try to execute a binary which is outside of the website root. This is prevented by open basedir as this causes a high security risk. You can disable open_basedir in the website template and fcgi starter script templates, but I rellay recommend to not do this!
     
  3. vistree

    vistree Member

    Hi Till,
    does that mean, that not the /usr/bin/perl is the problem?
    I have to check, which pl is to be executed and to put it in path?

    Kind regards

    Kai
     
  4. till

    till Super Moderator

    Typo3 is a php application and not a perl application. for security reasons, php is not allowed to execute binary programs outside of the web directory. As /usr/bin/perl is outside of the web dir, it is not allowed to execute this program. I posted possible solutions above.
     
  5. vistree

    vistree Member

    OK, I understand.
    What do you think. Is it also heigh risk, if I copy the perl-bin to the specific web?

    Kind regards

    Kai
     

Share This Page