I have compiled PHP after compiling Curl 7.73 .
Curl -v shows me it's 7.73, and if I go to my web server and check phpinfo() output it's also 7.73 .
However, the compiled php cli is showing me that it's running Curl 7.68 !
To confirm this, I checked the output of php --ini and also ran a script from cli to get the output of curl_version() .
In order to try to force php cli curl version to be 7.73 I recompiled it with the flag --with-curl=path/to/curl
However, no matter how many times or versions of php i recompile, it always defaults to Curl 7.68, ignoring Curl from my system or my flag .
How can I fix this and force PHP CLI to use the same curl as the rest of the system ?
0 Answers