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

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

Count Diff
2 (10%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite' (tried: /usr/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite (/usr/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite.so (/usr/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
002+ PHP Warning: PHP Startup: gd: Unable to initialize module 003+ Module compiled with module API=20100525 002- Sending bug48182 003- Sending data over to SSL server in async mode with contents like Hello World 004+ PHP compiled with module API=20190902 005+ These options need to match 006+ in Unknown on line 0 007+ PHP Warning: PHP Startup: mysql: Unable to initialize module 008+ Module compiled with module API=20100525 009+ PHP compiled with module API=20190902 010+ These options need to match 011+ in Unknown on line 0 012+ PHP Warning: PHP Startup: Unable to load dynamic library 'odbc.so' (tried: /usr/lib64/extensions/no-debug-zts-20190902/odbc.so (/usr/lib64/extensions/no-debug-zts-20190902/odbc.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-zts-20190902/odbc.so.so (/usr/lib64/extensions/no-debug-zts-20190902/odbc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 013+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_odbc.so' (tried: /usr/lib64/extensions/no-debug-zts-20190902/pdo_odbc.so (/usr/lib64/extensions/no-debug-zts-20190902/pdo_odbc.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-zts-20190902/pdo_odbc.so.so (/usr/lib64/extensions/no-debug-zts-20190902/pdo_odbc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 014+ PHP Warning: PHP Startup: wddx: Unable to initialize module 015+ Module compiled with module API=20100525 016+ PHP compiled with module API=20190902 017+ These options need to match 018+ in Unknown on line 0 019+ PHP Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried: /usr/lib64/extensions/no-debug-zts-20190902/zip.so (/usr/lib64/extensions/no-debug-zts-20190902/zip.so: undefined symbol: zval_used_for_init), /usr/lib64/extensions/no-debug-zts-20190902/zip.so.so (/usr/lib64/extensions/no-debug-zts-20190902/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 020+ Sending bug48182 021+ Sending data over to SSL server in async mode with contents like Hello World
1 (5%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis' (tried: /data/php/lib/php/extensions/debug-zts-20190902/redis (/data/php/lib/php/extensions/debug-zts-20190902/redis: cannot open shared object file: No such file or directory), /data/php/lib/php/extensions/debug-zts-20190902/redis.so (/data/php/lib/php/extensions/debug-zts-20190902/redis.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli.so' (tried: /usr/local/php/lib/php/extensions/mysqli.so (/usr/local/php/lib/php/extensions/mysqli.so: undefined symbol: _tsrm_ls_cache), /usr/local/php/lib/php/extensions/mysqli.so.so (/usr/local/php/lib/php/extensions/mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/mysqli (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/mysqli: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/mysqli.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/mysqli.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 'openssl' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/openssl (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/openssl: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/openssl.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/openssl.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 'pdo_mysql' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'mailparse.so' (tried: /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/mailparse.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/mailparse.so: cannot open shared object file: No such file or directory), /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/mailparse.so.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/mailparse.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'gmp' (tried: /wwwroot/php/lib/php/extensions/no-debug-zts-20190902/gmp (/wwwroot/php/lib/php/extensions/no-debug-zts-20190902/gmp: cannot open shared object file: No such file or directory), /wwwroot/php/lib/php/extensions/no-debug-zts-20190902/gmp.so (/wwwroot/php/lib/php/extensions/no-debug-zts-20190902/gmp.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 'intl' (tried: /wwwroot/php/lib/php/extensions/no-debug-zts-20190902/intl (/wwwroot/php/lib/php/extensions/no-debug-zts-20190902/intl: cannot open shared object file: No such file or directory), /wwwroot/php/lib/php/extensions/no-debug-zts-20190902/intl.so (/wwwroot/php/lib/php/extensions/no-debug-zts-20190902/intl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /mnt/software/php7.4.8/lib/php/extensions/no-debug-non-zts-20190902/gd.so (/mnt/software/php7.4.8/lib/php/extensions/no-debug-non-zts-20190902/gd.so: cannot open shared object file: No such file or directory), /mnt/software/php7.4.8/lib/php/extensions/no-debug-non-zts-20190902/gd.so.so (/mnt/software/php7.4.8/lib/php/extensions/no-debug-non-zts-20190902/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/curl.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/curl.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/curl.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/curl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/curl (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/curl: cannot open shared object file: No such file or directory), /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/curl.so (/usr/local/php74/lib/php/extensions/no-debug-non-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 'exif' (tried: /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/exif (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/exif: cannot open shared object file: No such file or directory), /usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/exif.so (/usr/local/php74/lib/php/extensions/no-debug-non-zts-20190902/exif.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+ 005+ Warning: stream_socket_client(): SSL: Connection refused in /home/m-ito/tmp/php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 006+ 007+ Warning: stream_socket_client(): Failed to enable crypto in /home/m-ito/tmp/php-7.4.8/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/m-ito/tmp/php-7.4.8/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/m-ito/tmp/php-7.4.8/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/m-ito/tmp/php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 014+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /home/m-ito/tmp/php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
1 (5%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'bz2' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20190902/bz2 (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/bz2: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20190902/bz2.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/bz2.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 'curl' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20190902/curl (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/curl: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20190902/curl.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/curl.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 'gd2' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20190902/gd2 (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/gd2: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20190902/gd2.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/gd2.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 'imap' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20190902/imap (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/imap: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20190902/imap.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/imap.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 'mbstring' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20190902/mbstring (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/mbstring: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20190902/mbstring.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/mbstring.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 'exif' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20190902/exif (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/exif: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20190902/exif.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/exif.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 008+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20190902/pdo_mysql (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so (/usr/local/php/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 009+ 010+ Warning: stream_socket_client(): SSL: Connection refused in /home/pi/php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 011+ 012+ Warning: stream_socket_client(): Failed to enable crypto in /home/pi/php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 013+ 014+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/pi/php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 015+ 016+ Warning: fwrite() expects parameter 1 to be resource, bool given in /home/pi/php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13 017+ 018+ Warning: fread() expects parameter 1 to be resource, bool given in /home/pi/php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 019+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /home/pi/php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
1 (5%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/zip.so' (tried: /usr/lib64/php/modules/zip.so (/usr/lib64/php/modules/zip.so: undefined symbol: zval_used_for_init), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/lib64/php/modules/zip.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/lib64/php/modules/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
002+ PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0 003+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'pdo.so' in Unknown on line 0 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: Connection refused in /usr/local/src/php-src-php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9 006+ 007+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-src-php-7.4.8/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 /usr/local/src/php-src-php-7.4.8/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 /usr/local/src/php-src-php-7.4.8/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 /usr/local/src/php-src-php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14 014+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /usr/local/src/php-src-php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
1 (5%)
002+ PHP Warning: Failed loading Zend extension 'opcache' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/opcache (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/opcache: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/opcache.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/opcache.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (5%)
002+ Failed loading /usr/local/ioncube/ioncube_loader_lin_5.6.so: /usr/local/ioncube/ioncube_loader_lin_5.6.so: undefined symbol: zend_block_interruptions
1 (5%)
002+ 003+ Warning: stream_socket_client(): SSL: Connection refused in /usr/local/src/php-7.4.8/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.4.8/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.4.8/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 /usr/local/src/php-7.4.8/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 /usr/local/src/php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (5%)
002+ 003+ Warning: stream_socket_client(): SSL: Connection refused in /tmp/php-7.4.8/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 /tmp/php-7.4.8/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 /tmp/php-7.4.8/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 /tmp/php-7.4.8/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 /tmp/php-7.4.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (5%)
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.8/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.8/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.8/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.8/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.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (5%)
002+ 003+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /usr/local/src/php-7.4.8/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_new(): private key length is too short; it needs to be at least 384 bits, not 0 in /usr/local/src/php-7.4.8/ext/openssl/tests/CertificateGenerator.inc on line 128 006+ 007+ Warning: openssl_csr_new(): Unable to generate a private key in /usr/local/src/php-7.4.8/ext/openssl/tests/CertificateGenerator.inc on line 128 008+ 009+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /usr/local/src/php-7.4.8/ext/openssl/tests/CertificateGenerator.inc on line 132 010+ 011+ Fatal error: Uncaught Exception: Failed to create certificate in /usr/local/src/php-7.4.8/ext/openssl/tests/CertificateGenerator.inc:135 012+ Stack trace: 013+ #0 %s/bug48182.php(46): CertificateGenerator->saveNewCertAsFileWithKey('bug48182', '/usr/local/src/...') 014+ #1 {main} 015+ thrown in /usr/local/src/php-7.4.8/ext/openssl/tests/CertificateGenerator.inc on line 135
1 (5%)
002+ 003+ Termsig=11 002- Sending bug48182 003- Sending data over to SSL server in async mode with contents like Hello World