Bug #81661 [NEW]: Undefined constant "CURLINFO_TOTAL_TIME_T"
From: oliver at erply dot com
Operating system: Centos 7
PHP version: 8.0.13
Package: cURL related
Bug Type: Bug
Bug description:Undefined constant "CURLINFO_TOTAL_TIME_T"
Description:
------------
I compiled PHP version 8.0.13 with following options:
./configure --build=x86_64-redhat-linux-gnu
--host=x86_64-redhat-linux-gnu --prefix=/opt/ews-24-80/php
--libdir=/opt/ews-24-80/php/lib64
--with-config-file-path=/usr/local/etc/ews-24-80/php
--with-apxs2=/opt/ews-24-80/apache2/bin/apxs --with-openssl
--with-libxml-dir --with-pcre-regex --with-zlib --with
curl=/opt/ews-24-80/curl
There are no errors indicating anything went wrong in the compiling
process, however when running the test script shared below I get an
error with Undefined constant. Using /opt/ews-24-80/curl directly from
the CLI works fine.
CURL version used: 7.80.0
Same setup works fine with PHP 7.3
Test script:
---------------
<?php
print_r(CURLINFO_TOTAL_TIME_T);
?>
Expected result:
----------------
Get the actual value of CURLINFO_TOTAL_TIME_T constant.
Actual result:
--------------
#0 {main}
thrown in /curl.php on line 2
Fatal error: Uncaught Error: Undefined constant "CURLINFO_TOTAL_TIME_T"
in /curl.php on line 2
Error: Undefined constant "CURLINFO_TOTAL_TIME_T" in /curl.php on line
2
Call Stack:
0.0003 390752 1. {main}() /curl.php:0
--
Edit bug report at https://bugs.php.net/bug.php?id=81661&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81661&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81661&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81661&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81661&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81661&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81661&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81661&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81661&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81661&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81661&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81661&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81661&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81661&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81661&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81661&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81661&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81661&r=mysqlcfg
Thread (1 message)
- oliver at erply dot com