The default curl in Ubuntu 14.04 is in the Usr/bin directory, and the version is 7.35 Libcurl is also 7.35.
My newly downloaded curl is 7.48, installed under/usr/local/curl, and the Curl version is 7.48,libcurl is 7.35.
If you remove the Curl version of Curl,/usr/local/curl in the/usr/bin directory, the 7.48,libcurl version is 7.48.
If you install the latest curl under/usr/, that is, replace the system curl, both the curl and Libcurl versions are the latest versions.
What is the cause of this phenomenon?
Is there a requirement for PHP versions to install different versions of Curl?
Server Upgrade curl can I overwrite curl in the system?
Reply content:
The default curl in Ubuntu 14.04 is in the Usr/bin directory, and the version is 7.35 Libcurl is also 7.35.
My newly downloaded curl is 7.48, installed under/usr/local/curl, and the Curl version is 7.48,libcurl is 7.35.
If you remove the Curl version of Curl,/usr/local/curl in the/usr/bin directory, the 7.48,libcurl version is 7.48.
If you install the latest curl under/usr/, that is, replace the system curl, both the curl and Libcurl versions are the latest versions.
What is the cause of this phenomenon?
Is there a requirement for PHP versions to install different versions of Curl?
Server Upgrade curl can I overwrite curl in the system?
First you don't confuse the system's curl with PHP's curl library, they are independent.
In addition, you have to replace the version of the system only need the/usr/bin directory curl renamed Backup, and then the new executable software chain to/usr/bin under the
ln -s /usr/local/curl /usr/bin/curl