XF 1.5 Версия php и почта

Holsten

Проверенные
Сообщения
118
Реакции
12
Баллы
3,320
Перешел на версию php 5.6. Всё вроде бы хорошо, но вот почта перестала отправляться. Что может быть ?

Email to ......... failed (after retry): Could not open socket 2 мин. назад - library/Zend/Mail/Protocol/Abstract.php:277
 
Последнее редактирование:
PHP:
'./configure' '--prefix=/opt/php56' '--with-config-file-path=/opt/php56/etc' '--with-config-file-scan-dir=/opt/php56/etc/php.d' '--disable-debug' '--with-libdir=lib64' '--with-pic' '--disable-rpath' '--with-bz2' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-shmop' '--enable-calendar' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbregex' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--with-mysql=shared,/usr' '--with-mysqli=shared' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli-sock=/var/lib/mysql/mysql.sock' '--enable-dom=shared' '--with-pgsql=shared,/usr' '--enable-wddx=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--with-curl=shared,/usr' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--enable-json=shared' '--enable-zip=shared' '--without-readline' '--with-libedit' '--with-pspell=shared' '--with-tidy=shared,/usr' '--enable-sysvmsg=shared' '--enable-sysvshm=shared' '--enable-sysvsem=shared' '--enable-posix=shared' '--with-unixODBC=shared,/usr' '--with-recode=shared,/usr' '--with-db4=/usr' '--with-imagick=shared,/usr' '--with-mhash=shared,/usr' '--enable-intl=shared,/usr' '--enable-htscanner=shared,/usr' '--enable-timezonedb=shared,/usr' '--with-ssh2=shared,/usr' '--with-mcrypt=shared' 'CFLAGS=-O2 '-g' '-pipe' '-Wall' '-Wp,-D_FORTIFY_SOURCE=2' '-fexceptions' '-fstack-protector' '--param=ssp-buffer-size=4' '-m64' '-mtune=generic' '-fno-strict-aliasing' '-Wno-pointer-sign''

PHP:
sockets
Sockets Support     enabled
 
Код:
PHP Version 5.6.24
System Linux ipsbox1.localdomain 2.6.32-573.12.1.el6.x86_64 #1 SMP Tue Dec 15 21:19:08 UTC 2015 x86_64
Build Date Jul 22 2016 11:12:42
Configure Command './configure' '--prefix=/opt/php56' '--with-config-file-path=/opt/php56/etc' '--with-config-file-scan-dir=/opt/php56/etc/php.d' '--disable-debug' '--with-libdir=lib64' '--with-pic' '--disable-rpath' '--with-bz2' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-shmop' '--enable-calendar' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbregex' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--with-mysql=shared,/usr' '--with-mysqli=shared' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli-sock=/var/lib/mysql/mysql.sock' '--enable-dom=shared' '--with-pgsql=shared,/usr' '--enable-wddx=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--with-curl=shared,/usr' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--enable-json=shared' '--enable-zip=shared' '--without-readline' '--with-libedit' '--with-pspell=shared' '--with-tidy=shared,/usr' '--enable-sysvmsg=shared' '--enable-sysvshm=shared' '--enable-sysvsem=shared' '--enable-posix=shared' '--with-unixODBC=shared,/usr' '--with-recode=shared,/usr' '--with-db4=/usr' '--with-imagick=shared,/usr' '--with-mhash=shared,/usr' '--enable-intl=shared,/usr' '--enable-htscanner=shared,/usr' '--enable-timezonedb=shared,/usr' '--with-ssh2=shared,/usr' '--with-mcrypt=shared' 'CFLAGS=-O2 '-g' '-pipe' '-Wall' '-Wp,-D_FORTIFY_SOURCE=2' '-fexceptions' '-fstack-protector' '--param=ssp-buffer-size=4' '-m64' '-mtune=generic' '-fno-strict-aliasing' '-Wno-pointer-sign''
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /opt/php56/etc
Scan this dir for additional .ini files /opt/php56/etc/php.d
Additional .ini files parsed /opt/php56/etc/php.d/curl.ini, /opt/php56/etc/php.d/dom.ini, /opt/php56/etc/php.d/gd.ini, /opt/php56/etc/php.d/json.ini, /opt/php56/etc/php.d/mbstring.ini, /opt/php56/etc/php.d/mcrypt.ini, /opt/php56/etc/php.d/mysql.ini, /opt/php56/etc/php.d/mysqli.ini, /opt/php56/etc/php.d/pdo.ini, /opt/php56/etc/php.d/pdo_mysql.ini, /opt/php56/etc/php.d/soap.ini, /opt/php56/etc/php.d/ssh2.ini, /opt/php56/etc/php.d/xmlrpc.ini
PHP API 20131106
PHP Extension 20131226
Zend Extension 220131226
Zend Extension Build API220131226,NTS
PHP Extension Build API20131226,NTS
Debug Build no
Thread Safety disabled
Zend Signal Handling disabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
IPv6 Support enabled
DTrace Support disabled
Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls, tlsv1.0, tlsv1.1, tlsv1.2
Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, mcrypt.*, mdecrypt.*

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.1.73
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64/mysql -lmysqlclient
Directive Local Value Master Value
mysql.allow_local_infile On On
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
mysqli
MysqlI Support enabled
Active Persistent Links 0
Inactive Persistent Links 0
Active Links 1
Directive Local Value Master Value
mysqli.allow_local_infile On On
mysqli.allow_persistent On On
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.max_persistent Unlimited Unlimited
mysqli.reconnect Off Off
mysqli.rollback_on_cached_plink Off Off
mysqlnd
mysqlnd enabled
Compression supported
core SSL supported
extended SSL supported
Command buffer size 4096
Read buffer size 32768
Read timeout 31536000
Collecting statistics Yes
Collecting memory statistics No
 
Последнее редактирование модератором:
Полный текст ошибки из первого поста. Кусок could not open socket - ни о чем, это так, не смог соединиться (точнее не смог открыть сокет, если на то пошло)
И скатерти не надо постить, для этого есть тег code
 
  • Мне нравится
Реакции: Hope
Код:
Zend_Mail_Protocol_Exception: Email to почта@yandex.ru failed: Could not open socket - library/Zend/Mail/Protocol/Abstract.php:277

#0 /var/www/форум/data/www/форум/library/Zend/Mail/Protocol/Smtp.php(167): Zend_Mail_Protocol_Abstract->_connect('ssl://mails...')
#1 /var/www/форум/data/www/форум/library/Zend/Mail/Transport/Smtp.php(216): Zend_Mail_Protocol_Smtp->connect()
#2 /var/www/форум/data/www/форум/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#3 /var/www/форум/data/www/форум/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#4 /var/www/форум/data/www/форум/library/XenForo/Mail.php(175): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
#5 /var/www/форум/data/www/форум/library/XenForo/Mail.php(152): XenForo_Mail->sendMail(Object(Zend_Mail))
#6 /var/www/форум/data/www/форум/library/XenForo/Model/UserConfirmation.php(241): XenForo_Mail->send('почта@yandex.r...', 'test2345')
#7 /var/www/форум/data/www/форум/library/XenForo/ControllerPublic/LostPassword.php(84): XenForo_Model_UserConfirmation->sendPasswordResetRequest(Array)
#8 /var/www/форум/data/www/форум/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_LostPassword->actionLost()
#9 /var/www/форум/data/www/форум/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /var/www/форум/data/www/форум/index.php(13): XenForo_FrontController->run()
#11 {main}


array(3) {
["url"] => string(40) "http://форум/lost-password/lost"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["username_email"] => string(16) "почта@yandex.ru"
["recaptcha_challenge_field"] => string(206) ""
["recaptcha_response_field"] => string(3) "347"
["_xfToken"] => string(8) "********"
}
}
 
Последнее редактирование:
Zend_Mail_Protocol_Abstract->_connect('ssl://mails...')
Если через яндекс, то там должен быть ssl://smtp.yandex.ru.

Или замазано не там где надо и перестаю играть в телепатов; или неправильные настройки почты на форуме; или яндекс забанил. Последнее проверяется просто: с консоли сервера telnet smtp.yandex.ru 25 - если яндекс ответил, значит порядок.

2016-08-22_012238.png

ЗЫ: сомневаюсь что здесь пехапе виновато.
 
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу