Date: Sat, 26 Apr 2008 02:01:09 -0400 From: "Philip M. Gollucci" <pgollucci@p6m7g8.com> To: Robert Munn <penylan@comcast.net> Cc: freebsd-apache@freebsd.org Subject: Re: php install Message-ID: <4812C525.7060004@p6m7g8.com> In-Reply-To: <48125E05.50909@comcast.net>
index | next in thread | previous in thread | raw e-mail
Robert Munn wrote: > I have installed PHP 5.2.5 with the following configuration line on a > 5.5-Stable system > > ./configure '--with-apxs2' '--with-gd' '--with-mysql' > '--with-jpeg-dir=/usr/local/lib' '--with-zlib-dir=/usr/local/lib' > '--with-freetype-dir' '--enable-sockets' > > The installation proceeds flawlessly. When my application tries to send > smtp mail to gmail on port 465 I get the following message > > Warning: stream_socket_client(): unable to connect to > tls://smtp.gmail.com:465 (Un > able to find the socket transport "tls" - did you forget to enable it > when you con > figured PHP?) in PHP5/SMTP5.php on line 129 > > Informative but not very helpful. Can anyone tell me how I enable "tls"? in configure speak --with-curl (depends on if libcurl has TLS support in it) In ports speak cd /usr/ports/ftp/php5-curl make install That will pull in /usr/ports/ftp/curl make WITH_GNUTLS=yes That knob is important as it actually brings in the TLS part. This port has an options dialogue to select it from. HTH > > With thanks in advance > > Robert Munn > > > > > _______________________________________________ > freebsd-apache@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-apache > To unsubscribe, send any mail to "freebsd-apache-unsubscribe@freebsd.org" -- ------------------------------------------------------------------------ Philip M. Gollucci (pgollucci@p6m7g8.com) c:703.336.9354 Consultant / http://p6m7g8.net/Resume/resume.txt http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4812C525.7060004>
