Re: 找不到 sperl5
※ 引述《Leeym.bbs@utopia.leeym.com (Yen-Ming Lee)》之銘言:
> ※ 引述《kib83726@bbs.openfind.com.tw》之銘言:
> : 我用 lang/perl5.8 安裝 perl
> : make ENABLE_SUIDPERL=yes install
> : 試過三個版本 5.8.2 5.8.4 5.8.5
> : 都找不到 sperl5 的檔案
> : 因為網站上有個網頁要用到 sperl5
> : 而 perl 被我升級之後,竟然沒有 sperl5
> : 這下子要被老闆刮兩層皮了。
> # ln -s /usr/local/bin/sperl5.8.4 /usr/local/bin/sperl
perl5.8.5 上有點問題
/var/log/httpd-error.log 的記錄如下
(13)Permission denied: mod_mime_magic: can't read `/usr/local/www/cgi-bin/ping.pl' sperl needs fd script
You should not call sperl directly; do you need to change a #! line from sperl to perl?
Premature end of script headers: /usr/local/www/cgi-bin/ping.pl
--
好康訊息!
Openfind 提供免費撥接電話:40508888
帳號:openfind 密碼:openfind
--
http://bbs.openfind.com.tw
※來源:61.221.*
討論串 (同標題文章)
完整討論串 (本文為第 4 之 4 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章