From owner-freebsd-apache@FreeBSD.ORG Sat Apr 26 06:11:16 2008 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AB0E106564A for ; Sat, 26 Apr 2008 06:11:16 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from EXHUB015-3.exch015.msoutlookonline.net (exhub015-3.exch015.msoutlookonline.net [207.5.72.95]) by mx1.freebsd.org (Postfix) with ESMTP id 0C9A08FC14 for ; Sat, 26 Apr 2008 06:11:15 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from smgellar.p6m7g8.net (70.88.236.22) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.1.263.0; Fri, 25 Apr 2008 23:01:11 -0700 Message-ID: <4812C525.7060004@p6m7g8.com> Date: Sat, 26 Apr 2008 02:01:09 -0400 From: "Philip M. Gollucci" Organization: P6 Web Applications User-Agent: Thunderbird 2.0.0.9 (X11/20071217) MIME-Version: 1.0 To: Robert Munn References: <48125E05.50909@comcast.net> In-Reply-To: <48125E05.50909@comcast.net> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-apache@freebsd.org Subject: Re: php install X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2008 06:11:16 -0000 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.