Name : php
Arch : x86_64
Version : 5.2.17
Release : 1.el5.art
Size : 3.4 M
Repo : installed
This is the repo data. I am having problems configuring PHP to send emails using gmails smtp.
Using Wordpress and configuring it to send to gmail it reports this:
SMTP Error: Could not connect to SMTP host.
Failed to connect to server
Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
There is any command line should I use to recompile PHP and enable SSL or TSL? Thanks
I am using CentOS 5.5, nginx 0.9.5 and PHP 5.2.17 with PHP-FPM.
PHP 5.2.17 x86_64 not having SSL or TSL support
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: PHP 5.2.17 x86_64 not having SSL or TSL support
It definitely supports SSL/TLS, since we use those functions with 5.2.17 and our back end systems here.
Re: PHP 5.2.17 x86_64 not having SSL or TSL support
This is what PHPinfo says:
Code: Select all
System Linux myhost 2.6.32.19-0.2.99.17.22250fd-xen #1 SMP 2010-09-13 10:16:50 +0200 x86_64
Build Date Mar 15 2011 12:36:17
Configure Command './configure' '--enable-fastcgi' '--enable-fpm' '--with-mcrypt' '--with-zlib' '--enable-mbstring' '--disable-pdo' '--with-mysql' '--with-curl' '--disable-debug' '--disable-rpath' '--enable-inline-optimization' '--with-bz2'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib
Loaded Configuration File /usr/local/lib/php.ini
Scan this dir for additional .ini files (none)
additional .ini files parsed (none)
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams compress.zlib, compress.bzip2, php, file, data, http, ftp, zip
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed
Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
Re: PHP 5.2.17 x86_64 not having SSL or TSL support
I can confirm that this is not only a wordpress issue but a joomla one also, i've had customers with the same issue and they were related to wordpress and joomla both. There's ton's of post's at joomla about it, not sure about wordpress forums but i'll assume that since one of my customers found the fix at wordpress you will find it there also.
James Nascimento
Chief Information Officer
East Commerce Solutions, Inc.
22 Morris Lane
East Providence, RI 02914
Ph. 800-527-5395 x263
Fax. 888-999-5891
Chief Information Officer
East Commerce Solutions, Inc.
22 Morris Lane
East Providence, RI 02914
Ph. 800-527-5395 x263
Fax. 888-999-5891
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: PHP 5.2.17 x86_64 not having SSL or TSL support
Thats definitely not coming from the atomic php package. That looks like some custom php implementation.
Re: PHP 5.2.17 x86_64 not having SSL or TSL support
Indeed it is. Sorry about that. It looks like I installed a Custom PHP installation using PHP-FPM.
I am going to remove it and install php from atomic.
Does it supports PHP-FPM?
I am going to remove it and install php from atomic.
Does it supports PHP-FPM?
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: PHP 5.2.17 x86_64 not having SSL or TSL support
5.3.6 does, its going into the -testing channel right now