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

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 13 different diffs reported by users for this test.

Count Diff
3 (17%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/gd.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/gd.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/gd.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/gd.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 'zip.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/zip.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/zip.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/zip.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2 (11%)
002+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:64321 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7 003+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12 002- Sending bug48182 003- Sending data over to SSL server in async mode with contents like Hello World 004+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 13 005+ 006+ Warning: stream_socket_client(): SSL: Connection refused in /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 007+ 008+ Warning: stream_socket_client(): Failed to enable crypto in /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 009+ 010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 011+ 012+ Warning: fwrite() expects parameter 1 to be resource, bool given in /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 013+ 014+ Warning: fread() expects parameter 1 to be resource, bool given in /home/try/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
2 (11%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /wwws/php/php7.4.25/lib/php/extensions/no-debug-zts-20190902/mcrypt.so (/wwws/php/php7.4.25/lib/php/extensions/no-debug-zts-20190902/mcrypt.so: cannot open shared object file: No such file or directory), /wwws/php/php7.4.25/lib/php/extensions/no-debug-zts-20190902/mcrypt.so.so (/wwws/php/php7.4.25/lib/php/extensions/no-debug-zts-20190902/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
2 (11%)
002+ Failed loading /opt/php/php8/lib/php/extensions/no-debug-non-zts-20200930/opcache.so: /opt/php/php8/lib/php/extensions/no-debug-non-zts-20200930/opcache.so: undefined symbol: zend_cannot_pass_by_reference
1 (6%)
002+ PHP Warning: PHP Startup: gd: Unable to initialize module 003+ Module compiled with module API=20100525 004+ PHP compiled with module API=20190902 005+ These options need to match 006+ in Unknown on line 0
1 (6%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick (Cannot open "/opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick"), /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick.so (Shared object "libMagickWand-7.so.7" not found, required by "imagick.so")) in Unknown on line 0 003+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick (Cannot open "/opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick"), /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick.so (Shared object "libMagickWand-7.so.7" not found, required by "imagick.so")) in Unknown on line 0 004+ PHP Warning: Module 'zip' already loaded in Unknown on line 0
1 (6%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl.so: undefined symbol: file_globals_id), /usr/local/lib/php/extensions/no-debug-non-zts-20190902//usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902//usr/local/lib/php/extensions/no-debug-non-zts-20190902/openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (6%)
002+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php-7.4.25/lib/php/extensions/no-debug-non-zts-20190902/opcache.so (/usr/local/php-7.4.25/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.25/lib/php/extensions/no-debug-non-zts-20190902/opcache.so.so (/usr/local/php-7.4.25/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.25/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so (/usr/local/php-7.4.25/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.25/lib/php/extensions/no-debug-non-zts-20190902/igbinary.so.so (/usr/local/php-7.4.25/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.25/lib/php/extensions/no-debug-non-zts-20190902/mongodb.so (/usr/local/php-7.4.25/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.25/lib/php/extensions/no-debug-non-zts-20190902/mongodb.so.so (/usr/local/php-7.4.25/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.25/lib/php/extensions/no-debug-non-zts-20190902/apcu.so (/usr/local/php-7.4.25/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.25/lib/php/extensions/no-debug-non-zts-20190902/apcu.so.so (/usr/local/php-7.4.25/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.25/lib/php/extensions/no-debug-non-zts-20190902/redis.so (/usr/local/php-7.4.25/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.25/lib/php/extensions/no-debug-non-zts-20190902/redis.so.so (/usr/local/php-7.4.25/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 (6%)
002+ Failed loading /usr/local/lib/php/extensions/no-debug-zts-20170718/opcache.so: /usr/local/lib/php/extensions/no-debug-zts-20170718/opcache.so: undefined symbol: _zval_ptr_dtor 003+ PHP Warning: PHP Startup: zip: 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=20170718 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 '/usr/local/lib/php/extensions/no-debug-zts-20170718/rar.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/rar.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/rar.so: undefined symbol: _zval_ptr_dtor), .///usr/local/lib/php/extensions/no-debug-zts-20170718/rar.so.so (.///usr/local/lib/php/extensions/no-debug-zts-20170718/rar.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 009+ PHP Warning: PHP Startup: mcrypt: Unable to initialize module 010+ Module compiled with module API=20170718 011+ PHP compiled with module API=20190902 012+ These options need to match 013+ in Unknown on line 0 014+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20170718/soap.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/soap.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/soap.so: undefined symbol: _zval_ptr_dtor), .///usr/local/lib/php/extensions/no-debug-zts-20170718/soap.so.so (.///usr/local/lib/php/extensions/no-debug-zts-20170718/soap.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 015+ PHP Warning: PHP Startup: memcached: Unable to initialize module 016+ Module compiled with module API=20170718 017+ PHP compiled with module API=20190902 018+ These options need to match 019+ in Unknown on line 0 020+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so: undefined symbol: _zval_ptr_dtor), .///usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so.so (.///usr/local/lib/php/extensions/no-debug-zts-20170718/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 021+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20170718/imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20170718/imagick.so (/usr/local/lib/php/extensions/no-debug-zts-20170718/imagick.so: undefined symbol: _zval_ptr_dtor), .///usr/local/lib/php/extensions/no-debug-zts-20170718/imagick.so.so (.///usr/local/lib/php/extensions/no-debug-zts-20170718/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 022+ Sending bug48182 023+ Sending data over to SSL server in async mode with contents like Hello World
1 (6%)
002+ Derived class Locr\OGR\Geometry is initialized before base class IGeometry: interface is ignored
1 (6%)
002+ 003+ Warning: stream_socket_client(): SSL: Connection refused in /home/digiasa/src/php-7.4.25/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/digiasa/src/php-7.4.25/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/digiasa/src/php-7.4.25/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/digiasa/src/php-7.4.25/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/digiasa/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (6%)
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.25/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.25/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.25/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.25/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.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (6%)
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/local/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 005+ 006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.4.25/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/local/src/php-7.4.25/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/local/src/php-7.4.25/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/local/src/php-7.4.25/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14