Test: /ext/openssl/tests/bug46127.phpt - Version 7.2.2        

Bug #46127 [PATCH] php_openssl_tcp_sockop_accept forgets to set context on accepted stream
Submitted: 2008-09-19 15:50:36 Modified: 2008-11-16 23:23:38
From: mark Assigned: pajoye
Status: Closed Package: OpenSSL related
PHP Version: 5.3CVS-2008-11-11 OS: *

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

Count Diff
3 (12%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pcntl.so' (tried: /usr/local/php-7.2.2/lib/php/extensions/no-debug-zts-20170718/pcntl.so (/usr/local/php-7.2.2/lib/php/extensions/no-debug-zts-20170718/pcntl.so: cannot open shared object file: No such file or directory), /usr/local/php-7.2.2/lib/php/extensions/no-debug-zts-20170718/pcntl.so.so (/usr/local/php-7.2.2/lib/php/extensions/no-debug-zts-20170718/pcntl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
3 (12%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'gmp.so' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gmp.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gmp.so: file too short), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gmp.so.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/gmp.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (4%)
001+ Xdebug requires Zend Engine API version 320160303.
001- Sending bug 46127
002+ The Zend Engine API version 320170718 which is installed, is newer.
003+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
004+
005+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so: undefined symbol: spl_ce_Countable), /usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so.so (/usr/local/lib/php/extensions/no-debug-zts-20170718//usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
006+ PHP Warning: PHP Startup: redis: Unable to initialize module
007+ Module compiled with module API=20160303
008+ PHP compiled with module API=20170718
009+ These options need to match
010+ in Unknown on line 0
011+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
012+
013+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/w01/Загрузки/2018/02/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
014+
015+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/w01/Загрузки/2018/02/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
016+
017+ ** ERROR: process timed out **
1 (4%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (4%)
001+ Warning: stream_socket_client(): SSL: Success in /home/debian/php-src-php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/debian/php-src-php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/debian/php-src-php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/debian/php-src-php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php7.2-build/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (4%)
001+ PHP Warning: PHP Startup: gd: Unable to initialize module
002+ Module compiled with module API=20160303
003+ PHP compiled with module API=20170718
004+ These options need to match
005+ in Unknown on line 0
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/usr/local/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
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /ROOT/bin/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/ROOT/bin/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /ROOT/bin/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/ROOT/bin/php/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
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'raphf.so' (tried: /home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/raphf.so (/home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/raphf.so: cannot open shared object file: No such file or directory), /home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/raphf.so.so (/home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/raphf.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- Sending bug 46127
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'propro.so' (tried: /home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/propro.so (/home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/propro.so: cannot open shared object file: No such file or directory), /home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/propro.so.so (/home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/propro.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 'http.so' (tried: /home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/http.so (/home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/http.so: cannot open shared object file: No such file or directory), /home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/http.so.so (/home/server/kern/lib/php/extensions/no-debug-non-zts-20170718/http.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
005+
006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/server/kern/src/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
007+
008+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/server/kern/src/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
009+
010+ ** ERROR: process timed out **
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads.so' (tried: /home/david/bin/php7.2.2/lib/php/extensions/no-debug-zts-20170718/pthreads.so (/home/david/bin/php7.2.2/lib/php/extensions/no-debug-zts-20170718/pthreads.so: cannot open shared object file: No such file or directory), /home/david/bin/php7.2.2/lib/php/extensions/no-debug-zts-20170718/pthreads.so.so (/home/david/bin/php7.2.2/lib/php/extensions/no-debug-zts-20170718/pthreads.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads.so' (tried: /etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so (/etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so: cannot open shared object file: No such file or directory), /etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so.so (/etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/openssl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/openssl.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/openssl.so.so (/usr/local/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
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/mbstring.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/mbstring.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/mbstring.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/mbstring.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-non-zts-20170718/zip.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/zip.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/zip.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/intl (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/intl: cannot open shared object file: No such file or directory), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/intl.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/intl.so: undefined symbol: zval_used_for_init)) in Unknown on line 0
1 (4%)
001+ PHP Warning: Failed loading Zend extension 'xdebug.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'ds.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/ds.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/ds.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (4%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/lib64/20170718/opcache.so (/usr/lib64/20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/opcache.so.so (/usr/lib64/20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /usr/lib64/20170718/memcache.so (/usr/lib64/20170718/memcache.so: cannot open shared object file: No such file or directory), /usr/lib64/20170718/memcache.so.so (/usr/lib64/20170718/memcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (4%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /etc/php7/lib/php/extensions/debug-zts-20170718/opcache.so (/etc/php7/lib/php/extensions/debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /etc/php7/lib/php/extensions/debug-zts-20170718/opcache.so.so (/etc/php7/lib/php/extensions/debug-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads.so' (tried: /etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so (/etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so: cannot open shared object file: No such file or directory), /etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so.so (/etc/php7/lib/php/extensions/debug-zts-20170718/pthreads.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (4%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: ./opcache.so (./opcache.so: cannot open shared object file: No such file or directory), ./opcache.so.so (./opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: ./intl (./intl: cannot open shared object file: No such file or directory), ./intl.so (./intl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (4%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: ../lib/php/extensions/no-debug-zts-20170718/opcache.so (../lib/php/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), ../lib/php/extensions/no-debug-zts-20170718/opcache.so.so (../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
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: ../lib/php/extensions/no-debug-zts-20170718/mysqli (../lib/php/extensions/no-debug-zts-20170718/mysqli: cannot open shared object file: No such file or directory), ../lib/php/extensions/no-debug-zts-20170718/mysqli.so (../lib/php/extensions/no-debug-zts-20170718/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 'pdo_mysql' (tried: ../lib/php/extensions/no-debug-zts-20170718/pdo_mysql (../lib/php/extensions/no-debug-zts-20170718/pdo_mysql: cannot open shared object file: No such file or directory), ../lib/php/extensions/no-debug-zts-20170718/pdo_mysql.so (../lib/php/extensions/no-debug-zts-20170718/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (4%)
001+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.2/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
006+
007+ ** ERROR: process timed out **