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

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

Count Diff
2 (13%)
002+
003+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /data/soft/php-7.2.32/ext/openssl/tests/CertificateGenerator.inc on line 82
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+
005+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /data/soft/php-7.2.32/ext/openssl/tests/CertificateGenerator.inc on line 100
006+
007+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /data/soft/php-7.2.32/ext/openssl/tests/CertificateGenerator.inc on line 104
008+
009+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /data/soft/php-7.2.32/ext/openssl/tests/CertificateGenerator.inc on line 107
010+
011+ Warning: failed loading cafile stream: `/data/soft/php-7.2.32/ext/openssl/tests/bug48182-ca.pem.tmp' in /data/soft/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
012+
013+ Warning: stream_socket_client(): Failed to enable crypto in /data/soft/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
014+
015+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /data/soft/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
016+
017+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /data/soft/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
018+
019+ Warning: fread() expects parameter 1 to be resource, boolean given in /data/soft/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (7%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'raphf.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so: undefined symbol: zval_ptr_dtor), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.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 'propro.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so: undefined symbol: zend_string_init_interned), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'http.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.so: undefined symbol: zend_string_init_interned), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.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 'pdo.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so: undefined symbol: zend_string_init_interned), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
006+ PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
007+ Module compiled with module API=20190902
008+ PHP compiled with module API=20170718
009+ These options need to match
010+ in Unknown on line 0
011+ PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
012+ Module compiled with module API=20190902
013+ PHP compiled with module API=20170718
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 (7%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl.so' (tried: /opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so (/usr/local/gmssl/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so)), /opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so.so (/opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
005+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
006+
007+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
010+
011+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
012+
013+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
014+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
015+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 13
1 (7%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /opt/php7/lib/php/extensions/no-debug-non-zts-20170718/memcached.so (/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /opt/php7/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so (/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/memcached.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 'redis.so' (tried: /opt/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /opt/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.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 'imagick.so' (tried: /opt/php7/lib/php/extensions/no-debug-non-zts-20170718/imagick.so (/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/imagick.so: cannot open shared object file: No such file or directory), /opt/php7/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so (/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (7%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/lib/php/modules/curl (/usr/lib/php/modules/curl: cannot open shared object file: No such file or directory), /usr/lib/php/modules/curl.so (/usr/lib/php/modules/curl.so: undefined symbol: zend_hash_index_update)) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: /usr/lib/php/modules/zip (/usr/lib/php/modules/zip: cannot open shared object file: No such file or directory), /usr/lib/php/modules/zip.so (/usr/lib/php/modules/zip.so: undefined symbol: zend_std_has_property)) in Unknown on line 0
1 (7%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so (/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.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 '/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (7%)
002+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) '/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/zlib.so' in Unknown on line 0
003+
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ Warning: stream_socket_client(): SSL: Connection refused in /root/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.2.32/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 /root/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /root/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /root/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
013+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /root/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
1 (7%)
002+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so (/usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (/usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (7%)
002+ Cannot load the ionCube PHP Loader - it was built with configuration API320151012,NTS, whereas running engine is API320170718,NTS
003+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: undefined symbol: zend_interned_strings_snapshot
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (7%)
002+
003+ Warning: stream_socket_client(): SSL: Success in /usr/src/php-7.2.32/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 /usr/src/php-7.2.32/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 /usr/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (7%)
002+
003+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.2.32/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 /usr/local/src/php-7.2.32/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 /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (7%)
002+
003+ Warning: stream_socket_client(): SSL: Success in /home/lichenglin/php72/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/lichenglin/php72/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/lichenglin/php72/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/lichenglin/php72/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, boolean given in /home/lichenglin/php72/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (7%)
002+
003+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php-7.2.32/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 /usr/src/php-7.2.32/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 /usr/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (7%)
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:14000126:SSL routines::unexpected eof while reading in /home/guest/ZHGL61/php/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /home/guest/ZHGL61/php/php-7.2.32/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 /home/guest/ZHGL61/php/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/guest/ZHGL61/php/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /home/guest/ZHGL61/php/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14