Re: [問題] 請問apache+mysql+php的perl的moduleꬠ…
※ 引述《ucg (從來沒想過的好人牌..)》之銘言:
: 我因為是是winXP上架server
: 所以需要用到sendmail
: 上網看到Mail::Sendmail這個外掛..
: 就去抓了.ActivePerl-5.6.1.638-MSWin32-x86.msi
: 然然去安裝..
: 但還是不能用..
: 請問還要修改什麼嗎??
: php.ini還是httpd.conf
: 謝謝..
嗯...基本上..
其實我改過php.ini 和httpd.conf..
所以我現在在php的語法中..
是可以下mail()的函數..
但是它不肯傳..
以下是我做的事情..
ppm> install Mail::Sendmail
====================
Install 'Mail-Sendmail' version 0.79 in ActivePerl 5.6.1.638.
====================
Downloaded 11505 bytes.
Extracting 5/5: blib/arch/auto/Mail/Sendmail/.exists
Installing C:\Perl\html\site\lib\Mail\Sendmail.html
Installing C:\Perl\site\lib\Mail\Sendmail.pm
Successfully installed Mail-Sendmail version 0.79 in ActivePerl 5.6.1.638.
ppm>
==============================================
去改httpd.conf
把 #!c:/program files/perl/perl改成 #!c:/perl/bin
去改php.ini
sendmail_from = me@localhost.com 改成sendmail_from = b88801013@ntu.edu.tw
;sendmail_path = 改成sendmail_path =C:/perl/site/lib/Mail/
重新啟動appache
但是就是寄不出去..
如果我去改sendmail.pm和他有一個test.pl..
就都不行..
test.pl跟sendmail.pm不改時..點test.pl可以寄信出去耶..
這裡我就都不了解了..
--
●●● ●●● ●●● ●● ●●●
●●● ●●● ●●● ●●● ●● ●●●●●●●
●●● ●●● ●●● ●●●●●● ●ꄠ 될 ●●●
●●● ●●● ●●● ●●● ●● ●▄● ●●●
●●● ●●● ●● ●●●
你 是 生 po了 篇上站 次 對不對~~~ 哈哈我是ucg
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.213.224
討論串 (同標題文章)
Perl 近期熱門文章
PTT數位生活區 即時熱門文章