NoGi Posted June 17, 2015 Share Posted June 17, 2015 In upgrading to 4.0.8, the pre-check notes:You do not have the cURL PHP extension loaded or it is running a version less than 7.36. While this is not required, it is recommended.On my VPS, when I run yum install php-curl, I get:yum install php-curl Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: centos.uberglobalmirror.com * epel: fedora.mirror.serversaustralia.com.au * extras: centos.uberglobalmirror.com * remi: remi.conetix.com.au * updates: centos.uberglobalmirror.com Package php-common-5.4.42-1.el6.remi.x86_64 already installed and latest version Nothing to do It's come back with me running the latest version for my version of PHP, where is v7.36 from? Link to comment Share on other sites More sharing options...
Ahmad E. Posted June 17, 2015 Share Posted June 17, 2015 Try curl -V it will tell you the version. Link to comment Share on other sites More sharing options...
AutoItScript Posted June 17, 2015 Share Posted June 17, 2015 In upgrading to 4.0.8, the pre-check notes:On my VPS, when I run yum install php-curl, I get:yum install php-curl It's come back with me running the latest version for my version of PHP, where is v7.36 from?That's the php extension part. You are looking for "yum curl" and "yum libcurl". Do "yum list *curl*" and you'll see what you've got installed/available.Edit: And the reason you might see a message on 4.0.8 about the php curl extension not being loaded is because there was a bug with versions of curl < 7.36 so if you have an earlier version loaded they fall back to using sockets instead and just report that the extension is not loaded. I have the same message but it's not worth upgrading curl for.http://community.invisionpower.com/4bugtrack/curl-and-requirements-checker-r6193/ Link to comment Share on other sites More sharing options...
Management Matt Posted June 17, 2015 Management Share Posted June 17, 2015 There was an error in the curl checking part of the upgrade process. This has since been fixed and we've updated the 4.0.8 release.While 7.36 is nice, it's not essential any longer and your suite will still use curl for everything except chunking which it has to fall back to sockets for. Link to comment Share on other sites More sharing options...
NoGi Posted June 18, 2015 Author Share Posted June 18, 2015 Thanks guys Link to comment Share on other sites More sharing options...
agghanim Posted June 18, 2015 Share Posted June 18, 2015 I can confirm this, had the same issue today while upgrading to 4.0.8. I downloaded a fresh IPB 4.0.8 zip today, but "the curl checking part" still gave this error.My curl version was 7.35, it seems IPB will not accept any version below 7.36. The error message was a bit vague to find upgrading to be the solution. I only found this thread afterI found the solution.. hehe.I updated curl via diractadmin custombuild (upgrading to 7.37)cd /usr/local/directadmin/custombuild wget http://curl.haxx.se/snapshots/curl-7.37.0-20140401.tar.gz perl -pi -e 's/curl:.*/curl:7.37.0-20140401:af816f2c93249ab8376e0efce2106a97/' versions.txt ./build curl /usr/local/bin/curl --versionor you can try:cd /usr/local/src wget http://curl.haxx.se/download/curl-7.36.0.tar.gz tar -xvzf curl-7.36.0.tar.gz rm *.gz cd curl-7.6.0 ./configure make make installrestart apache after, should do the trick. Link to comment Share on other sites More sharing options...
RevengeFNF Posted June 19, 2015 Share Posted June 19, 2015 I have curl 7.19.7 from Centos 6 updates and i got that same message.Is this ok, not ok? Link to comment Share on other sites More sharing options...
3DKiwi Posted June 19, 2015 Share Posted June 19, 2015 This is all very confusing. I have curl 7.15.5 Do I need to upgrade? What am I missing by not upgrading? Link to comment Share on other sites More sharing options...
Ahmad E. Posted June 19, 2015 Share Posted June 19, 2015 This is all very confusing. I have curl 7.15.5 Do I need to upgrade? What am I missing by not upgrading?If you want to use curl, you need to upgrade it. If not, the system will use sockets instead.Curl is the better option, you might want to google curl vs socket or something along those lines for more info. Link to comment Share on other sites More sharing options...
RevengeFNF Posted June 19, 2015 Share Posted June 19, 2015 So, IPS will only use CURL if version >= 7.37? Link to comment Share on other sites More sharing options...
RevengeFNF Posted June 19, 2015 Share Posted June 19, 2015 Ok, updated to the last version 7.43.Now i got the "cURL extension loaded" in the upgrader. Link to comment Share on other sites More sharing options...
NoGi Posted June 20, 2015 Author Share Posted June 20, 2015 Ok, updated to the last version 7.43.Now i got the "cURL extension loaded" in the upgrader.How did you upgrade in centos? Did you compile like the example above or use yum? Link to comment Share on other sites More sharing options...
RevengeFNF Posted June 20, 2015 Share Posted June 20, 2015 How did you upgrade in centos? Did you compile like the example above or use yum?Nope.I installed city-fan.org repo.Run this: rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/city-fan.org-release-1-12.rhel6.noarch.rpmThen i went to the repo folder and i edited that repo file to disable it. I don't want that repo to mess with the yum update.After that i did just run this: yum --enablerepo=city-fan.org update libcurl Link to comment Share on other sites More sharing options...
NoGi Posted June 20, 2015 Author Share Posted June 20, 2015 Thanks guys, I've upgrade and all seems good. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.