Bug #79313 [Opn]: --with-curl switch behaviour change in PHP 7.4
| From: | fred5 at originsystems dot co dot za | Date: | Thu, 27 Feb 2020 15:52:17 +0000 |
| Subject: | Bug #79313 [Opn]: --with-curl switch behaviour change in PHP 7.4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-225753@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79313&edit=1
ID: 79313
User updated by: fred5 at originsystems dot co dot za
Reported by: fred5 at originsystems dot co dot za
-Summary: Change since PHP 7.3
+Summary: --with-curl switch behaviour change in PHP 7.4
Status: Open
Type: Bug
Package: Compile Failure
Operating System: RHEL 7
PHP Version: 7.4.3
Block user comment: N
Private report: N
New Comment:
updating the title to hopefully be more meaningful.
Previous Comments:
------------------------------------------------------------------------
[2020-02-27 15:48:02] fred5 at originsystems dot co dot za
Description:
------------
Up to 7.3.15 supports this PHP compile switch:
--with-curl=shared,${BUILD_TARGET_CURL}
where ${BUILD_TARGET_CURL} = the folder into which our latest curl compile is located (currently
7.68.0)
However 7.4 produces this error:
checking for cURL support... yes
checking for libcurl >= 7.15.5... no
configure: error: Package requirements (libcurl >= 7.15.5) were not met:
No package 'libcurl' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables CURL_CFLAGS
and CURL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
I'm not sure what is going on but I can't seem to get PKG_CONFIG_PATH / CURL_CFLAGS /
CURL_LIBS to have any effect, no matter what I set them to.
thanks
Test script:
---------------
n/a
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79313&edit=1