Zum Inhalt springen

awstats und perl

Erstellt am 4. März 2004 · 1 Antwort · letzte Antwort am 9. April 2004

Tags: Server & Hosting, Frage

randomresult ·

Hi, suche im forum war zwar erfolgreich, aber konnte mein problem nicht lösen.
Habe awstats installiert und konnte auch das logfile konfigurieren... .awstats ordner angelegt und er hat auch was reingeschrieben... nun bekomme ich aber folgende fehlermeldung:

Warning: is_executable(): open_basedir restriction in effect. File(/usr/bin/perl) is not within the allowed path(s): (/home/www/web34/) in /home/www/web34/html/typo3conf/ext/cc_awstats/mod1/index.php on line 255

Warning: is_executable(): open_basedir restriction in effect. File(/usr/local/bin/perl) is not within the allowed path(s): (/home/www/web34/) in /home/www/web34/html/typo3conf/ext/cc_awstats/mod1/index.php on line 258
Perl was not found at '/usr/local/bin/perl'. The awstats.pl script can't be executed!

Ich habe mit whereis herrausgefunden das perl hier liegt:
perl: /usr/bin/perl /usr/lib/perl /usr/local/lib/perl /usr/share/perl /usr/share/man/man1/perl.1.gz

kann mir jemand sagen wo ich das angeben muss??
danke, harry

ps: ich arbeite auf einem linuxserver

critical ·

hi,
der Pfad ist in der index.php (mod1 Verzeichnis der AWStats Extension) angegeben.
Für einen Win Server könnte man es z.B. so ändern:
Line 255:
if (is_executable ("c:/perl/bin/perl.exe")) {
$perl = "c:/perl/bin/perl.exe ";
}...

Hoffe das hilft,
Grüße!