I'm looking to upgrade the libcurl software on FreeBSD.
Can someone point me in the right direction? I'm totally new to this sort of thing any basic advice is appreciated.
I downloaded the source code. and did these commands
Code:
./configure
make
make test (optional)
make install
everything seemed to be okay but where i run curl_version() it display an older version of curl than the one I just installed.
Do I have to recompile php?
...and it didn't work. Or more precisely, it did build, but did not install in the right place in your path, or with any of the half-dozen patches the port has to make it work correctly on FreeBSD. Use the ports. Not only do they make it easier to install software, they make it easier to remove and update that software without leaving stray files. Building and installing software "by hand" only makes more work for you. Seriously. Use the ports.
I tried updating through the ports. Everything appears to work okay except when I go to the php script
that runs curl_version() it still displays the older version of curl. Is there another step I need to take to make the new version 7.20.0 run?
I ran whereis curl and the output was /usr/ports/ftp/curl
I went into this directory and ran the commands make, make install, and make clean
It seemed to install okay but the new version 7.20.0 is not the active version.
I run pkg_info -Ix curl and curl-7.20.0 is displayed.
I run curl_version() inside of a php script and 7.16 is the version number.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.