LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 07-07-2016, 12:28 PM   #1
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Rep: Reputation: 28
Lamp server requires curl extension how do I add it?


My LAMP server does not does not have the curl extension.

I installed curl with apt-get but still no extension is found.

How can I add it to the PHP?
 
Old 07-07-2016, 01:35 PM   #2
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by bscho View Post
I installed curl with apt-get but still no extension is found.
But, did you install curl, or did you install php5-curl*?

If not the latter, then install by using:
Code:
sudo apt-get install php5-curl
Then restart apache.

*If you are using another version of php, then you will of course need to change it to php[version]-curl
 
1 members found this post helpful.
Old 07-07-2016, 01:36 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,657

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by bscho View Post
My LAMP server does not does not have the curl extension. I installed curl with apt-get but still no extension is found. How can I add it to the PHP?
AGAIN, did you even TRY to look anything up???? Did you install curl, or php5-curl??? Did you ENABLE it by uncommenting/adding "extension=curl.so" in the php.ini file??

Your few recent threads show very little in the way of effort in solving your own problems, but seem to be asking us to look things up for you. Read the "Question Guidelines" link in my posting signature.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cURL: Server has many IPs, how would I make a cURL script use those IPs to send data? guest Programming 0 04-11-2009 11:42 AM
Installed Curl and GD extension and get error: XBM Support required Nickalf Linux - Software 7 02-18-2009 03:22 PM
lamp setup question about php extension for mysql rlee923 Linux - Software 7 04-01-2007 11:13 PM
Adobe Acrobate Reader Requires A Plugin-That Requires Open LDAP That Requires Berkely Old_Fogie Slackware 10 05-08-2006 05:04 AM
Curl: How to add remote site to a certificate? mikeshn Programming 0 12-15-2003 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration