Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
August 22, 2013
Chris
Linux, PHP
5

How to install PHP curl extension (in 5 seconds)

PreviousNext

It’s a common wordpress problem: PHP’s curl extension is not installed!
No need to mess around in config files etc, simply do a

sudo apt-get install curl php5-curl

to install the PHP curl extension, activated and ready to go (apache restarts automatically, if not, do so).

This article was written quite a while ago (10 years), please keep this in mind when using the information written here. Links, code and commands might be outdated or broken.

Random articles

  • Best introduction to unix command line / bash ever (by André Augusto Costa Santos)Best introduction to unix command line / bash ever (by André Augusto Costa Santos)
  • How to setup a (or multiple) server/LAMP-stack inside a virtual machine for local development with Vagrant and PuPHPetHow to setup a (or multiple) server/LAMP-stack inside a virtual machine for local development with Vagrant and PuPHPet
  • How to install php-login-one-file on Ubuntu 12.04 LTSHow to install php-login-one-file on Ubuntu 12.04 LTS
  • How to show memory usage (Ubuntu)How to show memory usage (Ubuntu)
  • Useful basic linux stuff: Show kernel version, distribution name and distribution version on Ubuntu systemsUseful basic linux stuff: Show kernel version, distribution name and distribution version on Ubuntu systems
  • PHPMyAdmin not found after installation ? Here’s a fix (Ubuntu 12.04) !PHPMyAdmin not found after installation ? Here’s a fix (Ubuntu 12.04) !
  • PHPStorm: 42 Tips and Tricks (47min video talk by Mikhail Vink at Dutch PHP Conference 2015)PHPStorm: 42 Tips and Tricks (47min video talk by Mikhail Vink at Dutch PHP Conference 2015)
  • What’s new in PHPStorm 9What’s new in PHPStorm 9
  • Experimenting with HHVM at Etsy (Link)Experimenting with HHVM at Etsy (Link)
bashcurllinuxPHP
Share this

5 Comments

  • Saurav Singh
    April 15, 2015 8:54 am

    Hello
    Not working, I am using Ubuntu 14.04 LTS, i am trying sudo apt-get install php5-curl and it respond already installed.
    But when i am trying to connect it shows cURL status OFF,
    Please help me

    Reply
    • 6M
      June 8, 2016 9:21 pm

      http://stackoverflow.com/questions/1135860/enable-php5-curl-on-opensuse-with-nginx

      Reply
  • mateh
    February 1, 2015 8:52 pm

    Where do i have to enter this code?

    Reply
  • bright
    June 20, 2014 7:47 pm

    I’m prompted to enter passphrase.
    Is that my windows password?

    Reply
  • Keith
    December 22, 2013 8:23 pm

    Handy tip, thank you. Installing on Ubuntu 13.10 desktop version, I found I did have to do a restart, though, using
    sudo service apache2 restart

    Reply

Leave A Comment Cancel reply

php

New GitHub repo: simple php-long-polling for creating real-time apps

Mornin’ ! I’ve just pushed a sweet little new project into GitHub: A very simple and totally reduced PHP long-polling

The architecture of StackOverflow

One of the most interesting talks these weeks, and a rare insight into one of the most active pages on

photoshop-cc-deal

Adobe offers Photoshop for $9.99 per month (limited deal)

Currently Adobe offers the very latest version of Photoshop (which is Photoshop CC) for just $9.99 or 12,99€ (EU zone:

vagrant

How to setup a local server (in a virtual machine) with Vagrant in PHPStorm

This is part 1 of a series on How to get a modern workflow in PHP development. Part 2 is

All new features of WordPress 3.9 in this 2 minute video

This article was written quite a while ago (9 years), please keep this in mind when using the information written

pdo-debug

Debug PDO with this one-line function. Yeah!

Update: This article is a little bit older, the tool has changed gently. Everthing this article still works exactly like

js javascript

How JavaScript really works – An introduction into the JavaScript call stack by Philip Roberts (20min video)

This article was written quite a while ago (9 years), please keep this in mind when using the information written

php

How to setup / install PHP 5.6 on Ubuntu 14.04 LTS

Ubuntu 14.04 LTS ships with PHP 5.5 by default, but if you want to use PHP 5.6, then it’s just

DEF CON 18 – When your computer got stolen and you can still SSH into it: “Pwned by the 0wner” (22min conference talk)

A fantastic masterpiece of a conference talk: Mac got stolen. Bummer! Two years later: owner SSHs into it (!), installs

battlefield-3-free

Electronic Arts / Origin offers Battlefield 3 for free (limited promo action) !

A little bit off-topic, but definitly cool: EA offers the award-winning Battlefield 3 for free these days, but only for

1/4

Categories

Search

php
PHP 5.6 announced, statically typed (!) “new” PHP announced by Facebook devs
phpstorm 7.0 php
How to install GitHub’s, NetBeans’s and Sublime2’s syntax highlighting code colours theme in PHPStorm 6/7
Perfect HTML email templates for perfect HTML emails (outlook!) with INK
gamescom 2014 trailers
GAMESCOM 2014: Awesome Next-Gen ingame graphics
8 awesome pure CSS spinner / loader
php
Somebody is writing a compiler for PHP, compiles down to machine code, outperforms HHVM
css3-chrome-font
[Link] Retinafy your Site / Device by Nijiko Yonskai
october cms
[Link] How To Install October CMS on a VPS running Ubuntu 14.04
Hacked french TV channel exposed passwords in TV interview (video, screenshots, links)
phpstorm 7.0 php
A perfect video tutorial to get started with xdebug in PHPStorm
php
12 tools for better PHP quality
vagrant
A super-simple Vagrant LAMP stack bootstrap (installable with one command)
Test GZIP compression of your server easily
sass
[german video] Modernizing and minimalizing frontend markup code at AutoScout24
hiphop php
HipHop VM reaches 100% green Unit Tests in Laravel, Drupal, Slim, CodeIgniter etc.

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy
 
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT