Test: /ext/openssl/tests/bug69215.phpt - Version 7.2.32        

Bug #69215 Cannot specify client CA list in SSL stream context
Submitted: 2015-03-10 17:10:21 Modified: 2015-04-23 02:40:46
From: fabien.menager Assigned: rdlowrey
Status: Closed Package: OpenSSL related
PHP Version: Irrelevant OS: All

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

Count Diff
2 (17%)
001+ Warning: stream_socket_client(): Unable to set local cert chain file `/usr/src/php-7.2.32/ext/openssl/tests/bug69215-client.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
006+ bool(false)
1 (8%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so (/usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (/usr/local/php7/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 (8%)
001+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) '/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/zlib.so' in Unknown on line 0
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
004+ bool(false)
005+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /root/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 15
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so (/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.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 '/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/lib/php/modules/curl (/usr/lib/php/modules/curl: cannot open shared object file: No such file or directory), /usr/lib/php/modules/curl.so (/usr/lib/php/modules/curl.so: undefined symbol: zend_hash_index_update)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: /usr/lib/php/modules/zip (/usr/lib/php/modules/zip: cannot open shared object file: No such file or directory), /usr/lib/php/modules/zip.so (/usr/lib/php/modules/zip.so: undefined symbol: zend_std_has_property)) in Unknown on line 0
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl.so' (tried: /opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so (/usr/local/gmssl/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so)), /opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so.so (/opt/soft/php/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
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'raphf.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so: undefined symbol: zval_ptr_dtor), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- resource(%d) of type (stream)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'propro.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so: undefined symbol: zend_string_init_interned), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/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: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.so: undefined symbol: zend_string_init_interned), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.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 '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: undefined symbol: zend_string_init_interned), /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
005+ PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
006+ Module compiled with module API=20190902
007+ PHP compiled with module API=20170718
008+ These options need to match
009+ in Unknown on line 0
010+ PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
011+ Module compiled with module API=20190902
012+ PHP compiled with module API=20170718
013+ These options need to match
014+ in Unknown on line 0
015+ resource(9) of type (stream)
1 (8%)
001+ Warning: stream_socket_client(): Unable to set local cert chain file `/home/lichenglin/php72/ext/openssl/tests/bug69215-client.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/lichenglin/php72/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/lichenglin/php72/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/lichenglin/php72/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
006+ bool(false)
1 (8%)
001+ Warning: stream_socket_client(): Unable to set local cert chain file `/home/php-7.2.32/ext/openssl/tests/bug69215-client.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
006+ bool(false)
1 (8%)
001+ Warning: stream_socket_client(): Unable to set local cert chain file `/root/source-code/php-7.2.32/ext/openssl/tests/bug69215-client.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /root/source-code/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/source-code/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/source-code/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
006+ bool(false)
1 (8%)
001+ Warning: stream_socket_client(): Unable to set local cert chain file `/usr/local/src/php-7.2.32/ext/openssl/tests/bug69215-client.pem'; Check that your cafile/capath settings include details of your certificate and its issuer in /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
001- resource(%d) of type (stream)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
006+ bool(false)