Test: /ext/openssl/tests/bug46127.phpt - Version 5.6.0RC3        

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

Count Diff
1 (20%)
001+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (20%)
001+ Warning: stream_socket_client(): Failed to enable crypto in /Users/kylinboy/dev_tools/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /Users/kylinboy/dev_tools/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /Users/kylinboy/dev_tools/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (20%)
001+ PHP Warning: PHP Startup: bz2: Unable to initialize module
001- Sending bug 46127
002+ Module compiled with module API=20121212
003+ PHP compiled with module API=20131226
004+ These options need to match
005+ in Unknown on line 0
006+ PHP Warning: PHP Startup: curl: Unable to initialize module
007+ Module compiled with module API=20121212
008+ PHP compiled with module API=20131226
009+ These options need to match
010+ in Unknown on line 0
011+ PHP Warning: PHP Startup: gettext: Unable to initialize module
012+ Module compiled with module API=20121212
013+ PHP compiled with module API=20131226
014+ These options need to match
015+ in Unknown on line 0
016+ PHP Warning: PHP Startup: openssl: Unable to initialize module
017+ Module compiled with module API=20121212
018+ PHP compiled with module API=20131226
019+ These options need to match
020+ in Unknown on line 0
021+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/phar.so' - /usr/lib/php/modules/phar.so: undefined symbol: zend_get_hash_value in Unknown on line 0
022+ PHP Warning: PHP Startup: xsl: Unable to initialize module
023+ Module compiled with module API=20121212
024+ PHP compiled with module API=20131226
025+ These options need to match
026+ in Unknown on line 0
027+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:64321 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 7
028+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
029+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
030+
031+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
032+
033+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (20%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: cannot open shared object file: No such file or directory
1 (20%)
001+ Failed loading /usr/lib/php/extensions/debug-non-zts-20121212/xdebug.so: dlopen(/usr/lib/php/extensions/debug-non-zts-20121212/xdebug.so, 9): image not found
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /downloads/php/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /downloads/php/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
006+
007+ ** ERROR: process timed out **