Test: /ext/openssl/tests/bug48182.phpt - Version 7.4.15        

Bug #48182 asynchronous socket connection over ssl fails entirely
Submitted: 2009-05-07 16:23:49 Modified: 2009-08-21 00:46:54
From: frase Assigned: srinatar
Status: Closed Package: OpenSSL related
PHP Version: 5.2.11RC1 OS: *

There are 9 different diffs reported by users for this test.

Count Diff
1 (11%)
002+ Zend OPcache requires Zend Engine API version 320180731. 003+ The Zend Engine API version 320190902 which is installed, is newer. 004+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache. 005+
1 (11%)
002+ Zend OPcache requires Zend Engine API version 320180731. 003+ The Zend Engine API version 320190902 which is installed, is newer. 002- Sending bug48182 003- Sending data over to SSL server in async mode with contents like Hello World 004+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache. 005+ 006+ PHP Warning: PHP Startup: imagick: Unable to initialize module 007+ Module compiled with module API=20180731 008+ PHP compiled with module API=20190902 009+ These options need to match 010+ in Unknown on line 0 011+ PHP Warning: PHP Startup: mcrypt: Unable to initialize module 012+ Module compiled with module API=20180731 013+ PHP compiled with module API=20190902 014+ These options need to match 015+ in Unknown on line 0 016+ Sending bug48182 017+ Sending data over to SSL server in async mode with contents like Hello World
1 (11%)
002+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /home/sama/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
003+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/sama/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 13
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+
005+ Warning: stream_socket_client(): SSL: Success in /home/sama/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
006+
007+ Warning: stream_socket_client(): Failed to enable crypto in /home/sama/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/sama/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
010+
011+ Warning: fwrite() expects parameter 1 to be resource, bool given in /home/sama/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
012+
013+ Warning: fread() expects parameter 1 to be resource, bool given in /home/sama/php-7.4.1/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (11%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/local/php7/lib/php/extensions/no-debug-zts-20190902/intl (/usr/local/php7/lib/php/extensions/no-debug-zts-20190902/intl: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-zts-20190902/intl.so (/usr/local/php7/lib/php/extensions/no-debug-zts-20190902/intl.so: undefined symbol: _zval_ptr_dtor)) in Unknown on line 0
1 (11%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/lib/php/extensions/debug-zts-20190902/curl (/usr/lib/php/extensions/debug-zts-20190902/curl: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/debug-zts-20190902/curl.so (/usr/lib/php/extensions/debug-zts-20190902/curl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 003+ PHP Warning: PHP Startup: Unable to load dynamic library 'fileinfo' (tried: /usr/lib/php/extensions/debug-zts-20190902/fileinfo (/usr/lib/php/extensions/debug-zts-20190902/fileinfo: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/debug-zts-20190902/fileinfo.so (/usr/lib/php/extensions/debug-zts-20190902/fileinfo.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 004+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib/php/extensions/debug-zts-20190902/intl (/usr/lib/php/extensions/debug-zts-20190902/intl: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/debug-zts-20190902/intl.so (/usr/lib/php/extensions/debug-zts-20190902/intl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 005+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/lib/php/extensions/debug-zts-20190902/mbstring (/usr/lib/php/extensions/debug-zts-20190902/mbstring: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/debug-zts-20190902/mbstring.so (/usr/lib/php/extensions/debug-zts-20190902/mbstring.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 006+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/lib/php/extensions/debug-zts-20190902/openssl (/usr/lib/php/extensions/debug-zts-20190902/openssl: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/debug-zts-20190902/openssl.so (/usr/lib/php/extensions/debug-zts-20190902/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 007+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php/extensions/debug-zts-20190902/pdo_mysql (/usr/lib/php/extensions/debug-zts-20190902/pdo_mysql: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/debug-zts-20190902/pdo_mysql.so (/usr/lib/php/extensions/debug-zts-20190902/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (11%)
002+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/extensions/no-debug-non-zts-20160303/opcache.so (/usr/local/php/lib/extensions/no-debug-non-zts-20160303/opcache.so: undefined symbol: _zval_ptr_dtor), /usr/local/php/lib/extensions/no-debug-non-zts-20160303/opcache.so.so (/usr/local/php/lib/extensions/no-debug-non-zts-20160303/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 003+ PHP Warning: PHP Startup: redis: Unable to initialize module 002- Sending bug48182 003- Sending data over to SSL server in async mode with contents like Hello World 004+ Module compiled with module API=20160303 005+ PHP compiled with module API=20190902 006+ These options need to match 007+ in Unknown on line 0 008+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/php/lib/extensions/no-debug-non-zts-20160303/imagick.so (/usr/local/php/lib/extensions/no-debug-non-zts-20160303/imagick.so: undefined symbol: _zval_ptr_dtor), /usr/local/php/lib/extensions/no-debug-non-zts-20160303/imagick.so.so (/usr/local/php/lib/extensions/no-debug-non-zts-20160303/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 009+ PHP Warning: PHP Startup: Unable to load dynamic library 'swoole.so' (tried: /usr/local/php/lib/extensions/no-debug-non-zts-20160303/swoole.so (/usr/local/php/lib/extensions/no-debug-non-zts-20160303/swoole.so: undefined symbol: _zval_ptr_dtor), /usr/local/php/lib/extensions/no-debug-non-zts-20160303/swoole.so.so (/usr/local/php/lib/extensions/no-debug-non-zts-20160303/swoole.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 010+ PHP Warning: PHP Startup: ldap: Unable to initialize module 011+ Module compiled with module API=20160303 012+ PHP compiled with module API=20190902 013+ These options need to match 014+ in Unknown on line 0 015+ PHP Warning: PHP Startup: ssdb: Unable to initialize module 016+ Module compiled with module API=20160303 017+ PHP compiled with module API=20190902 018+ These options need to match 019+ in Unknown on line 0 020+ PHP Warning: PHP Startup: exif: Unable to initialize module 021+ Module compiled with module API=20160303 022+ PHP compiled with module API=20190902 023+ These options need to match 024+ in Unknown on line 0 025+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/php/lib/extensions/no-debug-non-zts-20160303/intl.so (/usr/local/php/lib/extensions/no-debug-non-zts-20160303/intl.so: undefined symbol: _zval_ptr_dtor), /usr/local/php/lib/extensions/no-debug-non-zts-20160303/intl.so.so (/usr/local/php/lib/extensions/no-debug-non-zts-20160303/intl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 026+ Sending bug48182 027+ Sending data over to SSL server in async mode with contents like Hello World
1 (11%)
002+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/opcache.so (/usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/opcache.so.so (/usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 003+ PHP Warning: PHP Startup: Unable to load dynamic library 'igbinary.so' (tried: /usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so (/usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so: cannot open shared object file: No such file or directory), /usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so.so (/usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 004+ PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/mongodb.so (/usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/mongodb.so: cannot open shared object file: No such file or directory), /usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/mongodb.so.so (/usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/mongodb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 005+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/apcu.so (/usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/apcu.so: cannot open shared object file: No such file or directory), /usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/apcu.so.so (/usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 006+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/redis.so (/usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/redis.so: cannot open shared object file: No such file or directory), /usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so (/usr/local/php-7.4.15/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (11%)
002+ 003+ Warning: stream_socket_client(): SSL: Connection refused in /home/friverag/Downloads/php-7.4.15/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 002- Sending bug48182 003- Sending data over to SSL server in async mode with contents like Hello World 004+ 005+ Warning: stream_socket_client(): Failed to enable crypto in /home/friverag/Downloads/php-7.4.15/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 006+ 007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/friverag/Downloads/php-7.4.15/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 008+ 009+ Warning: fwrite() expects parameter 1 to be resource, bool given in /home/friverag/Downloads/php-7.4.15/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 010+ 011+ Warning: fread() expects parameter 1 to be resource, bool given in /home/friverag/Downloads/php-7.4.15/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (11%)
002+ 003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: 002- Sending bug48182 003- Sending data over to SSL server in async mode with contents like Hello World 004+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/src/php-7.4.15/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 005+ 006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.4.15/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 007+ 008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-7.4.15/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 009+ 010+ Warning: fwrite() expects parameter 1 to be resource, bool given in /usr/src/php-7.4.15/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 011+ 012+ Warning: fread() expects parameter 1 to be resource, bool given in /usr/src/php-7.4.15/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14