title: PHP 5.6 will not run CURL
body: <p>I have Ubuntu 12.04 with PHP 5.6.11 and running Apache/2.4.12.  I've installed CURL by running </p>
  
  <pre><code>sudo apt-get install php5-curl 
  </code></pre>
  
  <p>and restarting: <code>sudo service apache2 restart</code></p>
  
  <p>At the command line I type <code>curl -V</code> and get the following:</p>
  
  <pre><code>curl 7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
  Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtmp rtsp smtp smtps telnet tftp
  Features: GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
  </code></pre>
  
  <p>and when I type <code>which curl</code> I get the following: <code>/usr/bin/curl</code></p>
  
  <p>So I'm fairly certain that curl is installed.</p>
  
  <p>When I use <code>phpinfo()</code> on a php page called from a web browser, there is no block for curl and any reference to curl for that matter.</p>
  
  <p>My understanding was that curl should work fine based on this <a href="https://askubuntu.com/questions/9293/how-do-i-install-curl-in-php5">question/answer</a> without any configuration changes which is clearly not the case.</p>
  
  <p>Can someone point me in the right direction to modify PHP config files or what commands I need to run to get CURL to run with PHP on my version?</p>
  
  <p>Attached are the config file locations found in phpinfo()</p>
  
  <pre><code>Configuration File (php.ini) Path   /etc/php5/apache2
  
  Loaded Configuration File   /etc/php5/apache2/php.ini
  
  Scan this dir for additional .ini files /etc/php5/apache2/conf.d
  
  Additional .ini files parsed    /etc/php5/apache2/conf.d/05-opcache.ini, /etc/php5/apache2/conf.d/10-pdo.ini, /etc/php5/apache2/conf.d/20-json.ini, /etc/php5/apache2/conf.d/20-mysql.ini, /etc/php5/apache2/conf.d/20-mysqli.ini, /etc/php5/apache2/conf.d/20-pdo_mysql.ini, /etc/php5/apache2/conf.d/20-readline.ini
  </code></pre>