I just install the SMTP module and wanna use the gmail to post email. I know I need to chose "using SSL" in the "Use encrypted protocol"
however, I can chose it, and a message show: Your PHP installation does not have SSL enabled. See the OpenSSL Functions page on php.net for more information. Gmail requires SSL.
I've install SSL and I can found:
Web server Apache/2.2.0 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.8k-fips PHP/5.1.2
in my status report. How can I enable the SSL?
Thanks.
Re: SMTP problem
You must have the PHP SSL extension. Please edit php.ini to load the extension.
Re: SMTP problem
首先感謝你的回應,對不起我還是不太明白應該 edit 那裡... 請問是在 php.ini 入面嗎?我在 php.ini 入面只找到有關 open_ssl 的一句,不過是 windows 的 .dll
Re: SMTP problem
;extension=php_openssl.dll
這一行
把分號(註解)拿掉~
Re: SMTP problem
但是我用的是 linux,請問是一樣嗎?
Re: SMTP problem
不一樣,Linux 下你要先裝相關的 Open SSL 套件,再裝 PHP Extension 套件才會有。
Re: SMTP problem
OH~ yes~ Thx so much!!! It works after I installed the openssl and re-config the PHP with --with-openssl=[dir]
thanks for your help