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

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

Count Diff
1 (11%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/upgrades/2021-01/php-7.4.14/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, bool given in /root/upgrades/2021-01/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (11%)
001+ PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module 001- Sending bug 46127 002+ Module compiled with module API=20131226 003+ PHP compiled with module API=20190902 004+ These options need to match 005+ in Unknown on line 0 006+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so: undefined symbol: zval_used_for_init), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 007+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0 008+ 009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /opt/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 010+ 011+ Warning: fgets() expects parameter 1 to be resource, bool given in /opt/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12 012+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /opt/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (11%)
001+ PHP Warning: PHP Startup: openssl: Unable to initialize module 001- Sending bug 46127 002+ Module compiled with module API=20200930 003+ PHP compiled with module API=20190902 004+ These options need to match 005+ in Unknown on line 0 006+ PHP Warning: PHP Startup: grpc: Unable to initialize module 007+ Module compiled with module API=20200930 008+ PHP compiled with module API=20190902 009+ These options need to match 010+ in Unknown on line 0 011+ 012+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /compile/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 013+ 014+ Warning: fgets() expects parameter 1 to be resource, bool given in /compile/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12 015+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /compile/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (11%)
001+ PHP Warning: PHP Startup: geos: Unable to initialize module 001- Sending bug 46127 002+ Module compiled with module API=20180731 003+ PHP compiled with module API=20190902 004+ These options need to match 005+ in Unknown on line 0 006+ PHP Warning: PHP Startup: apcu: Unable to initialize module 007+ Module compiled with module API=20180731 008+ PHP compiled with module API=20190902 009+ These options need to match 010+ in Unknown on line 0 011+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) '/usr/lib64/libgd.so' in Unknown on line 0 012+ Sending bug 46127
1 (11%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_mysql.so (/usr/local/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 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite (/usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/pdo_sqlite.so (/usr/local/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 (11%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190902/mcrypt.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20190902/mcrypt.so.so (/usr/local/lib/php/extensions/no-debug-zts-20190902/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 001- Sending bug 46127 002+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0 003+ 004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/src/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10 005+ 006+ Warning: fgets() expects parameter 1 to be resource, bool given in /root/src/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12 007+ PHP Notice: fwrite(): write of 1 bytes failed with errno=32 Broken pipe in /root/src/php-7.4.14/ext/openssl/tests/ServerClientTestCase.inc on line 158
1 (11%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/curl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/curl.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/curl.so.so (/usr/local/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 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'fileinfo.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/fileinfo.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/fileinfo.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/fileinfo.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/fileinfo.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 'gd.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/gd.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/gd.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/gd.so.so (/usr/local/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 004+ PHP Warning: PHP Startup: Unable to load dynamic library 'json.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/json.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/json.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/json.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/json.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: cannot open shared object file: No such file or directory), /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: Unable to load dynamic library 'pdo_sqlite.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo_sqlite.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo_sqlite.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo_sqlite.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo_sqlite.so.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 'phar.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/phar.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/phar.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/phar.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/phar.so.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 'sqlite3.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/sqlite3.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/sqlite3.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/sqlite3.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/sqlite3.so.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 'zip.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/zip.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/zip.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/zip.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (11%)
001+ PHP Warning: Module 'imagick' already loaded in Unknown on line 0 002+ PHP Warning: Module 'zip' already loaded in Unknown on line 0
1 (11%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so: undefined symbol: _zval_ptr_dtor), /usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.so.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/opcache.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: oci8: Unable to initialize module 003+ Module compiled with module API=20160303 004+ PHP compiled with module API=20190902 005+ These options need to match 006+ in Unknown on line 0 007+ PHP Warning: PHP Startup: memcached: Unable to initialize module 008+ Module compiled with module API=20160303 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 'raphf.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20160303/raphf.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/raphf.so: undefined symbol: _zval_ptr_dtor), /usr/local/lib/php/extensions/no-debug-zts-20160303/raphf.so.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/raphf.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 013+ PHP Warning: PHP Startup: propro: Unable to initialize module 014+ Module compiled with module API=20160303 015+ PHP compiled with module API=20190902 016+ These options need to match 017+ in Unknown on line 0 018+ PHP Warning: PHP Startup: Unable to load dynamic library 'http.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20160303/http.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/http.so: undefined symbol: _zval_ptr_dtor), /usr/local/lib/php/extensions/no-debug-zts-20160303/http.so.so (/usr/local/lib/php/extensions/no-debug-zts-20160303/http.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 019+ Sending bug 46127