Help - Search - Members - Calendar
Full Version: how to install curl on CentOs - Cpanel
The Planet Forums > System Administration > Web Hosting
ns1
As the title says i need instructions on how to install curl support on my server. I have CentOs and Cpanel. I tried through whm->Software->Install RPM and i have selected curl.i386 but i got this message:

Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Nothing to do
Install Complete

what to do?... i tried through SSH using easyapache and i got the same message
markcausa
Ah, you have to include cURL in your next apache build.

WHM > Software > Apache Update: It will be in the exhaustive options list.

Since you're rebuilding apache and such, you may also want to go through the list and select other features you may want.
James Jhurani
Need a little info... can you post the responses to the following:

"yum list | grep -i curl" (assuming your using centos5 if not, then use "up2date --showall | grep -i curl")
"php -m" to list the modules for php.
and "curl" to see if its actually installed.
ns1
huh... thx marcusa! icon_smile.gif

i'll try and see where that leads me...
markcausa
You got it. smile.gif Let us know what happens!
ns1
well i did that, however no changes...
markcausa
Really? Those are the steps I took to install it last week and it worked like a charm. ohmy.gif

Ideas?
James Jhurani
QUOTE (James Jhurani @ Apr 26 2008, 04:20 PM) *
Need a little info... can you post the responses to the following:

"yum list | grep -i curl" (assuming your using centos5 if not, then use "up2date --showall | grep -i curl")
"php -m" to list the modules for php.
and "curl" to see if its actually installed.


...
ns1
Right, sorry, here is the info:

"yum list | grep -i curl":
curl.i386 7.12.1-11.el4 installed
curl-devel.i386 7.12.1-11.el4 installed

"php -m":
[PHP Modules]
bcmath
calendar
ctype
date
dom
filter
ftp
gd
hash
iconv
imap
json
libxml
mcrypt
mysql
pcre
posix
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

"curl":
curl: try 'curl --help' or 'curl --manual' for more information

hope it helps you help me icon_smile.gif
James Jhurani
I hope you don't mind... I went ahead and fixed it for you.


root@new [~]# php -m

[PHP Modules]

bcmath
calendar
ctype
curl <---
date
dom
filter
ftp
gd
hash
iconv
imap
json
libxml
mbstring
mcrypt
mysql
pcre
posix
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]


root@new [~]#
ns1
wow, thx. although i would like to know how... so i know in the future... what did i miss and so on...
did you update apache, and if you did, did you save the configuration, or was it something else?

do i have to install curl now, or is everything done?
James Jhurani
QUOTE (ns1 @ Apr 29 2008, 12:34 PM) *
wow, thx. although i would like to know how... so i know in the future... what did i miss and so on...
did you update apache, and if you did, did you save the configuration, or was it something else?


I just ran /scripts/easyapache, and selected the curl/curlssl modules from the "exhaustive list". I expected a compilation error, since you stated that you tried this previously... But it worked without a problem.

QUOTE (ns1 @ Apr 29 2008, 12:34 PM) *
do i have to install curl now, or is everything done?

Nope, everything is done.
ns1
I did do it.
However I went through WHM->Apache update, however it is the same thing, right?

Well, once again, thx a lot for your help. icon_smile.gif
wesy
QUOTE (James Jhurani @ Apr 29 2008, 11:36 PM) *
I just ran /scripts/easyapache, and selected the curl/curlssl modules from the "exhaustive list". I expected a compilation error, since you stated that you tried this previously... But it worked without a problem.


Nope, everything is done.



i m having same curl is installed but it won show in module how to fix it via /scripts/eachapache or /scripts/phpextensionmgr

please help it
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.