View Full Version : PHP with OpenSSL Configuration

08-21-2011, 06:20 AM
Hey all, I originally posted this in the PHP forum, but didn't get any responses. Thinking this might be a better forum to post this question in...

I need to configure PHP to work with OpenSSL. I am trying to setup the open PHPMailer class to send mail via the gmail smtp server, and I need to be able to log in using SSL. I run an apache server, but I intalled it using the XAMPP installer; so I did not compile Apache or PHP myself. I have managed to install cURL support on PHP myself, so I am not entirely helpless, but I do think I need some help with this.

Right now the openssl mod is installed in Apache. Running phpinfo() though, it is definitely not loading in PHP. There is some information on OpenSSL in /extras/ directory in the PHP root directory, but I haven't been able to make a ton of sense out of it. Could anyone give me a little help? I am just not sure where to start. I can provide any additional information that is necessary.

Thanks in advance.

08-21-2011, 10:10 PM
If you are using Windows all you have to do is add "extension=php_openssl.dll" to your php.ini file under the "extensions" category and restart Apache.

08-22-2011, 04:15 AM
yessir...you're correct. It was just that easy. Thanks much.