Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[-]
Tags
how to install curl in linux server or php

How To Install cURL in Linux Server Or in PHP
#1
HOWTO Install cURL in Linux

Well, now most of the Hosting Companies provide cURL installed on their Servers. But unfortunately, if your server/vps doesn't have cURL installed, then you'll have to do it manually.

There are basically two methods to get cURL working on your Server.

First, you can enable cURL using EasyApache Script from cPanel/WHM

If this is not possible, then you must install cURL manually.

cURL Installation:

Login as root to your SSH Terminal.
Now, type the following commands.

Code:
cd /usr/local/src
wget http://curl.haxx.se/download/curl-7.19.7.tar.gz
tar -xvzf curl-7.19.7.tar.gz
cd curl-7.19.7
./configure –prefix=/usr/local –with-ssl=/usr/include/openssl
make
make install

This will install cURL on your server and will also associate it with OpenSSL.
Finish !
================================
Notes :
Please check the 'wget' download link time-to-time, as newer versions of cURL might be available in future. So get cURL Latest version from here.



Dinesh Kumar Mohanty
Ultra Web Solutions®
Bhubaneswar, Odisha, India.

UltratechHost - Your One Stop Offshore & Onshore Hosting Provider
Server Locations : Netherlands, Germany, Russia, Singapore & USA
Service Offers: Shared hosting | Reseller hosting | Cloud server | Dedicated server | VPS Hosting



Forum Jump:


Users browsing this thread: 1 Guest(s)