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

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

Count Diff
2 (13%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
004+
005+ ** ERROR: process timed out **
2 (13%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : 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/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (7%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/usr/local/php/ext/openssl/tests/bug46127.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
001- Sending bug 46127
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
003+
004+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
009+
010+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
011+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
012+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
1 (7%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (7%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: ext/mysqli (ext/mysqli: cannot read file data: Is a directory), ext/mysqli.so (ext/mysqli.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 'pdo_mysql' (tried: ext/pdo_mysql (ext/pdo_mysql: cannot read file data: Is a directory), ext/pdo_mysql.so (ext/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (7%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so: undefined symbol: zend_signal_globals_id), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (/usr/local/php/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%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20170718/xdebug.so: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/xdebug.so: undefined symbol: sapi_globals_id
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'geoip.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.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 'ds.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so (/usr/local/php/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 (7%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/lib64/extensions/no-debug-zts-20170718/opcache.so (/usr/lib64/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-zts-20170718/opcache.so.so (/usr/lib64/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%)
001+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
1 (7%)
001+ Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/opcache.so: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/opcache.so: cannot open shared object file: No such file or directory
1 (7%)
001+ Failed loading /usr/local/ioncube/ioncube_loader_lin_5.3.so: /usr/local/ioncube/ioncube_loader_lin_5.3.so: undefined symbol: zend_block_interruptions
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.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 'memcached.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so (/usr/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
004+ PHP Warning: PHP Startup: ChartDirector PHP API: Unable to initialize module
005+ Module compiled with module API=20090626
006+ PHP compiled with module API=20170718
007+ These options need to match
008+ in Unknown on line 0
1 (7%)
001+ Failed loading /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
1 (7%)
001+
001- Sending bug 46127