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

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
6 (25%)
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:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /php/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /php/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /php/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /php/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /php/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
4 (17%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php-7.1.20/lib/php/extensions/no-debug-non-zts-20160303/zip.so' - /usr/local/lib/php-7.1.20/lib/php/extensions/no-debug-non-zts-20160303/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
2 (8%)
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:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /usr/local/src/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
2 (8%)
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:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/local/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (4%)
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:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /usr/local/src/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
013+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
014+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 13
1 (4%)
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:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /usr/local/src/php/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (4%)
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:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /home/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /home/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /home/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (4%)
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:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /www/server/php-src-php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /www/server/php-src-php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /www/server/php-src-php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /www/server/php-src-php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /www/server/php-src-php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (4%)
002+ Cannot load the ionCube PHP Loader - it was built with configuration API320151012,NTS, whereas running engine is API320160303,NTS
003+ Zend OPcache requires Zend Engine API version 320151012.
004+ The Zend Engine API version 320160303 which is installed, is newer.
005+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
006+
007+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/sqlsrv.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/sqlsrv.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 '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/pdo_sqlsrv.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/pdo_sqlsrv.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 '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
1 (4%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20160303/curl.so' - Cannot open "/usr/local/lib/php/20160303/curl.so" in Unknown on line 0
1 (4%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php-7.2.3/lib/php/extensions/no-debug-non-zts-20160303/mcrypt.so' - /usr/local/php-7.2.3/lib/php/extensions/no-debug-non-zts-20160303/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
1 (4%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/7.1.20/lib/php/extensions/no-debug-non-zts-20160303/redis.so' - /usr/local/php/7.1.20/lib/php/extensions/no-debug-non-zts-20160303/redis.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/7.1.20/lib/php/extensions/no-debug-non-zts-20160303/swoole.so' - /usr/local/php/7.1.20/lib/php/extensions/no-debug-non-zts-20160303/swoole.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 operation failed with code 1. OpenSSL Error messages:
006+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/local/bella/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/bella/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /usr/local/bella/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
011+
012+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/bella/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
013+
014+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/bella/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
015+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/bella/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
016+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/bella/php-7.1.20/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 13
1 (4%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/php_intl.dll' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/php_intl.dll: 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-non-zts-20160303/php_mbstring.dll' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/php_mbstring.dll: 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 '/usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/php_mysqli.dll' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/php_mysqli.dll: 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 '/usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_mysql.dll' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/php_pdo_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
1 (4%)
002+ XDebug could not open the remote debug file '/tmp/xdebug/xdebug.log'.