|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2019-05-31 11:11 UTC] luciano at mannucci dot org
Description: ------------ Might be a duplicate of bug #69327 This is 'make test' output: ===================================================================== PHP : /usr/local/src/php/php-7.2.19/sapi/cli/php PHP_SAPI : cli PHP_VERSION : 7.2.19 ZEND_VERSION: 3.2.0 PHP_OS : FreeBSD - FreeBSD Saguaro 11.2-RELEASE-p10 FreeBSD 11.2-RELEASE-p10 #1 r348168: Fri May 24 11:58:27 CEST 2019 root@Saguaro:/usr/obj/usr/src/sys/GENERIC64 powerpc INI actual : /usr/local/src/php/php-7.2.19/tmp-php.ini More .INIs : --------------------------------------------------------------------- PHP : /usr/local/src/php/php-7.2.19/sapi/phpdbg/phpdbg PHP_SAPI : phpdbg PHP_VERSION : 7.2.19 ZEND_VERSION: 3.2.0 PHP_OS : FreeBSD - FreeBSD Saguaro 11.2-RELEASE-p10 FreeBSD 11.2-RELEASE-p10 #1 r348168: Fri May 24 11:58:27 CEST 2019 root@Saguaro:/usr/obj/usr/src/sys/GENERIC64 powerpc INI actual : /usr/local/src/php/php-7.2.19/tmp-php.ini More .INIs : --------------------------------------------------------------------- CWD : /usr/local/src/php/php-7.2.19 Extra dirs : VALGRIND : Not used ===================================================================== [Passed omitted] TEST 3408/14609 [ext/curl/tests/bug45161.phpt] and stops there. PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 16:00:01 2025 UTC |
What happens if you run the following script? Are there any error messages? Does the script finish after some time? <?php $ch = curl_init(); $fp = fopen('/dev/null', 'w'); for($i = 0; $i < 3; $i++) { curl_setopt($ch, CURLOPT_URL, 'http://127.0.0.1:9/'); curl_setopt($ch, CURLOPT_FILE, $fp); curl_setopt($ch, CURLOPT_VERBOSE, true); curl_exec($ch); } ?>Thanks for the fast reply! While active support for PHP 7.2 has ended a while ago[1], this doesn't appear related to the PHP version at all, but rather to Failed to connect to 127.0.0.1 port 9: Operation timed out Apparently, your system does not support the discard protocol[2], so the test should be skipped. [1] <https://www.php.net/supported-versions.php> [2] <https://tools.ietf.org/html/rfc863>Thanks for testing with the newer PHP versions! Could you please run the following script, and post its output here? I expect that to print int(28), but would like to have that confirmed. <?php $ch = curl_init('http://127.0.0.1:9/'); curl_exec($ch); var_dump(curl_error()); ?>