LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-27-2008, 08:20 AM   #1
xeross
Member
 
Registered: Apr 2008
Location: The Netherlands
Distribution: Debian 4.0
Posts: 48

Rep: Reputation: 15
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

Last edited by xeross; 08-27-2008 at 08:33 AM.
 
Old 08-27-2008, 06:52 PM   #2
digitalnerds
Member
 
Registered: May 2007
Distribution: Debian
Posts: 103

Rep: Reputation: 15
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
 
Old 08-28-2008, 12:41 AM   #3
xeross
Member
 
Registered: Apr 2008
Location: The Netherlands
Distribution: Debian 4.0
Posts: 48

Original Poster
Rep: Reputation: 15
phpinfo gives the list of socket transports, also i'm using linux not windows so i dont use dll's(i think)
 
Old 08-30-2008, 05:10 PM   #4
digitalnerds
Member
 
Registered: May 2007
Distribution: Debian
Posts: 103

Rep: Reputation: 15
I apologise for thr wrong info. The correct extension is .so instead of .dll

Regards
 
Old 08-31-2008, 10:42 AM   #5
xeross
Member
 
Registered: Apr 2008
Location: The Netherlands
Distribution: Debian 4.0
Posts: 48

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd and SSL/TLS mikeheggy Linux - Networking 3 12-19-2008 10:01 AM
question with sendmail `smart_host' TLS/ssl on slackware current. ragebot Slackware 1 07-09-2008 10:55 PM
apache SSL/TLS overlord73 Linux - Security 3 05-12-2005 05:53 AM
FTP via SSL (TLS) embsupafly Linux - Security 2 03-02-2005 08:47 PM
SSL vs. TLS X11 Linux - Security 8 12-17-2002 03:39 PM


All times are GMT -5. The time now is 08:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration