apt-get install libphp-phpmailer
安裝完成後 libphp-phpmailer 會被放在 /usr/share/php 下,所以,當程式需要執行 PHPMailer 相關功能時,就要在程式裡用 include 把 "/usr/share/php/class.phpmailer.php" 這個檔案給加進來才行,否則 PHP 是沒有那麼聰明,可以自己找的到的。
問題還是沒解決嗎 ?? 這裡有更多的 Ubuntu 相關教學可以參考哩 ...
買本阿舍寫的電子書帶走 - Ubuntu 指令新手馬上會用到的 35 個技法
沒有留言 :
張貼留言