Hey everyone!
Quick question, how do I check that my OpenSSL is working on my server? (Server 2003 / IIS 6.0 / PHP )
I have vBulletin and it is throwing SMTP errors when attempting to send a test email using gmail's SMTP server (smtp.gmail.com)
It requires SSL and it does mention SSL in the error, however, I have went into php.ini in both C:\php and C:\windows and changed
;extension=php_openssl.dll
to
extension=php_openssl.dll
Also have the required dll's in their respective directories, then rebooted the server.
I have since then not found a way I can check if it is truly an OpenSSL issue...
PHP question, help!! (relates to OpenSSL)
Moderator: General Moderators
-
amateurdbadude
- Forum Newbie
- Posts: 4
- Joined: Sun Jun 27, 2010 3:13 pm
- Location: Falls Church, VA
Re: PHP question, help!! (relates to OpenSSL)
Did you restart IIS after you made the change to you php.ini file?
-
amateurdbadude
- Forum Newbie
- Posts: 4
- Joined: Sun Jun 27, 2010 3:13 pm
- Location: Falls Church, VA
Re: PHP question, help!! (relates to OpenSSL)
Yes, I have restarted IIS several times and even rebooted the server (which is a task in itself, also causes all my other websites to go down for 20 minutes) =/
Re: PHP question, help!! (relates to OpenSSL)
What is the SMTP error? Post the code you're using that's throwing the error.
-
amateurdbadude
- Forum Newbie
- Posts: 4
- Joined: Sun Jun 27, 2010 3:13 pm
- Location: Falls Church, VA
Re: PHP question, help!! (relates to OpenSSL)
The mailing function returned an error while trying to send the mail.
The following errors were outputted by PHP when attempting to send mail:
Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in [path]\includes\class_mail.php on line 637
Warning: Unable to connect to SMTP server in [path]\includes\class_mail.php on line 603
The following errors were outputted by PHP when attempting to send mail:
Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in [path]\includes\class_mail.php on line 637
Warning: Unable to connect to SMTP server in [path]\includes\class_mail.php on line 603