Current time: 06-18-2013, 04:48 PM Hello There, Guest! (LoginRegister)

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fatal Error
07-15-2009, 02:43 PM
Post: #1
Fatal Error
Fatal error: Call to undefined function curl_init() in /home/guy1/public_html/tht/admin/pages/home.php on line 15

How do I install curl?

Thanks Smile
Find all posts by this user
07-15-2009, 03:29 PM (This post was last modified: 07-15-2009 03:32 PM by Kevin.)
Post: #2
RE: Fatal Error
Do you have sudo (or just plain root) access to the server?

If so use the following command to install it. (Some extra configuration may be required.)

Code:
sudo aptitude install php5-curl

That will work if you are on a Ubuntu-like Linux Distro.

Kevin Mark - TheHostingTool Lead Developer
Visit this user's website Find all posts by this user
07-16-2009, 03:38 AM
Post: #3
RE: Fatal Error
(07-15-2009 03:29 PM)Kevin M Wrote:  Do you have sudo (or just plain root) access to the server?

If so use the following command to install it. (Some extra configuration may be required.)

Code:
sudo aptitude install php5-curl

That will work if you are on a Ubuntu-like Linux Distro.

I have root, I cannot use sudo Sad
Find all posts by this user
07-16-2009, 05:04 AM
Post: #4
RE: Fatal Error
If you have root, log into WHM and use the Easy Apache tool to recompile PHP with CURL.

Jonny H - THT Main Developer & Founder
Find all posts by this user
07-17-2009, 02:36 PM
Post: #5
RE: Fatal Error
And also if you have root then you should be able to do it without sudo. Just run the command.

Kevin Mark - TheHostingTool Lead Developer
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)