PHP use different curl version than is installed in system

Gliliaden

New Member
I am using CentOS distribution and I need to install newer version then 7.15.5. I couldn't upgrade to nower using yum, so I download sources, compile and install without problem. \[code\][root ~]# curl -Vcurl 7.21.1 (i686-pc-linux-gnu) libcurl/7.21.1 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5Protocols: dict file ftp ftps http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp Features: IDN Largefile NTLM SSL libz \[/code\]However, when I display phpinfo() I see:\[code\]cURL support enabledcURL Information libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5\[/code\]I restarted apache, tried even replacing old curl in /usr/bin/curl with symlink to newer version in /usr/local/bin/curl. Still no clue how to upgrade curl used by PHP.
 
Back
Top