I'm running some forum software as a Static/CGI/PHP-7.2 app on my server that uses the cURL extension and it keeps giving me warnings that it recommends cURL version of at least 7.36 - it works fine but the warning is rather annoying. I see my server is running version 7.29. I downloaded cURL 7.58 to my src directory as described here: https://community.webfaction.com/questions/7959/how-did-i-install-my-own-phpcurlopenssl-for-use-with-the-shared-web-server But I'm a bit unclear on exactly what I need to do to get PHP to use that new version. I'm on web513. Any suggestions? asked 05 Jun '18, 18:59 Will |
PHP would need to be built to use the new cURL. In the steps you referenced above, the command to build the custom PHP installation includes "--with-curl=$HOME" to configure it to use the new cURL installed in the previous step. answered 05 Jun '18, 19:59 maryh |
The problem is that the system PHP interpreter doesn't know about the libraries you've installed. The solution is to set the PHP interpreter's Complete instructions are available here: How do I set environment variables for PHP? answered 15 Jun '18, 17:24 seanf |
What forum are you using ? I'm surprised that it requires a cURL version newer than the version that comes with PHP 7.2.
Invision Power Board (4.3) - like I said, it works totally fine, but it continually warns me in the admin area that using cURL < 7.36 is 'less efficient and less reliable for making connections'.