LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   PHP Slackware Get TLS/SSL Working (http://www.linuxquestions.org/questions/linux-server-73/php-slackware-get-tls-ssl-working-665773/)

xeross 08-27-2008 08:20 AM

PHP Slackware Get TLS/SSL Working
 
Hey, I successfully compiled php with openssl but it gives me the error:
Quote:

Unable to find the socket transport "ssl"
or with tls
Quote:

Unable to find the socket transport "tls"
how can i fix that ?
The error is caused by phpbb trying to send mail through gmail.

Thanks for your time, Xeross

digitalnerds 08-27-2008 06:52 PM

Hey there

If you compiled php with openssl then you may need to enable the extension in php.ini
Quote:

extension=php_openssl.dll
As far as i know with php5 you can dinamically link in SSL/TLS transport wrappers. You may want to make use of stream_get_transports() function in order to get an indexed array containing the name of all socket transports available on the running system and then use them.

Regards
Andy

xeross 08-28-2008 12:41 AM

phpinfo gives the list of socket transports, also i'm using linux not windows so i dont use dll's(i think)

digitalnerds 08-30-2008 05:10 PM

I apologise for thr wrong info. The correct extension is .so instead of .dll

Regards

xeross 08-31-2008 10:42 AM

Will that work even though the file doesn't exist ?
here's a list of all the ssl .so's i have :
Quote:

/usr/lib/libgnutls-openssl.so.26.1.3
/usr/lib/ruby/1.8/i486-linux/openssl.so
/usr/lib/libgnutls-openssl.so.26
/usr/lib/python2.5/lib-dynload/_ssl.so
/usr/lib/libgnutls-openssl.so
/usr/lib/libssl.so
/usr/lib/libssl.so.0
/usr/lib/libssl.so.0.9.8


All times are GMT -5. The time now is 03:42 AM.