Answers.Body: <p>if you're running apache, did you restart it after installing php-curl? </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-26T20:08:13.810Z
Answers.Text: You put it far more succinctly than I did 
Answers.UserDisplayName: Chris Burgess
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-26T20:22:13.313Z
Answers.Text: but you showed citations and details. I think you won :)
Answers.UserDisplayName: ericG
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-29T04:35:25.643Z
Answers.Text: Yes but I did not restart php-fpm which I will do when I get back to this project
Answers.UserDisplayName: Vietyank
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-26T19:59:18.847Z
Answers.LastActivityDate: 2017-08-26T19:59:18.847Z
Answers.UserDisplayName: ericG
Answers.Body: <p>CiviCRM has <a href="https://github.com/civicrm/civicrm-core/blob/d799e82070e2319bb5b2e580fabf90f64f907010/CRM/Utils/HttpClient.php#L112" rel="nofollow noreferrer">detected that the function <code>curl_init</code> is not available</a>, and is showing a warning.</p>
  
  <p>Commandline <code>phpinfo()</code> will show changes immediately (since PHP is started for each execution), while PHP in the webserver needs you to restart it separately to pick up new PHP modules. (These modes of running PHP also have different configurations loaded per default - but apt should already have enabled <code>curl</code> for each.)</p>
  
  <p>You can verify this by checking <code>phpinfo</code> through the webserver (eg in Drupal, visit <code>admin/reports/status/php</code>; in WordPress you might need to <a href="https://wordpress.org/plugins/wordpress-php-info/" rel="nofollow noreferrer">use this phpinfo plugin</a> or just create a <code>phpinfo</code> file in your site. If you see curl missing there, it could be a reload is all you need.</p>
  
  <p>Depending on your webserver configuration (PHP can run as FPM, mod_php, etc), you'll need to restart the service (eg apache2, php-fpm) which runs PHP on your server. Most likely,</p>
  
  <pre><code>sudo service &lt;your php service&gt; reload
  </code></pre>
  
  <ul>
  <li><a href="https://askubuntu.com/questions/6358/how-do-you-restart-apache">https://askubuntu.com/questions/6358/how-do-you-restart-apache</a></li>
  <li><a href="https://serverfault.com/questions/189940/how-do-you-restart-php-fpm">https://serverfault.com/questions/189940/how-do-you-restart-php-fpm</a></li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-29T04:48:11.720Z
Answers.Text: Reloading php-fpm did the trick. On my system I'm running two versions of php. I issued the following:
  
      sudo service php7.0-fpm  reload
  
  There was no separate service for 5.6 but this worked.
Answers.UserDisplayName: Vietyank
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-20T22:57:17.293Z
Answers.Text: Dumb question but how do I found out what to put in `<your php service>`. cUrl was already installed before I installed CiviCRM but I'm getting this message anyways and want to see if this still helps.
Answers.UserDisplayName: Christia
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-21T03:41:49.103Z
Answers.Text: Hi Christia! `service` is a command to manage running daemons, and (assuming a particular kind of *nix/distro, anyway) you can list the services installed on your system with `sudo service --status-all`. Likely candidates are `php5-fpm`, `php7.0-fpm` etc. In the absence of any php-ish things, probably you want `apache2` or `httpd` ... but look for PHP services first :)
Answers.UserDisplayName: Chris Burgess
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-27T18:45:05.963Z
Answers.Text: Thanks! `service apache2 reload` worked for me. Edit: or not. I'll post a separate question.
Answers.UserDisplayName: Christia
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-26T20:07:41.530Z
Answers.LastActivityDate: 2017-08-26T20:24:37.733Z
Answers.LastEditDate: 2017-08-26T20:24:37.733Z
Answers.UserDisplayName: Chris Burgess
Body: <p>CivCRM version 4.6
  PHP Version 5.6
  CURL was installed with <code>apt install php-curl</code></p>
  
  <p>The CiviCRM home page insists that CURL is not installed but all indications are that is is installed. My phpinfo() shows that is it is. I can execute it from the command line. </p>
  
  <p>I've searched for solutions but can't find it yet</p>
  
Tags: <wordpress>
Title: CiviCRM Home says CURL is not installed but it is
ThreadText: # CiviCRM Home says CURL is not installed but it is
  
  (Asked by: username_0 on 2017-08-26)
  
  CivCRM version 4.6
  PHP Version 5.6
  CURL was installed with `apt install php-curl`
  
  The CiviCRM home page insists that CURL is not installed but all indications are that is is installed. My phpinfo() shows that is it is. I can execute it from the command line.
  
  I've searched for solutions but can't find it yet
  
  **Tags:** wordpress
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-08-26. Score: 4 | Accepted answer
  
  CiviCRM has detected that the function curl_init is not available, and is showing a warning.
  Commandline phpinfo() will show changes immediately (since PHP is started for each execution), while PHP in the webserver needs you to restart it separately to pick up new PHP modules. (These modes of running PHP also have different configurations loaded per default - but apt should already have enabled curl for each.)
  You can verify this by checking phpinfo through the webserver (eg in Drupal, visit admin/reports/status/php; in WordPress you might need to use this phpinfo plugin or just create a phpinfo file in your site. If you see curl missing there, it could be a reload is all you need.
  Depending on your webserver configuration (PHP can run as FPM, mod_php, etc), you'll need to restart the service (eg apache2, php-fpm) which runs PHP on your server. Most likely,
  sudo service  reload
  
  
  https://askubuntu.com/questions/6358/how-do-you-restart-apache
  https://serverfault.com/questions/189940/how-do-you-restart-php-fpm
  
  > **Comments:**
  > **username_0**: Reloading php-fpm did the trick. On my system I'm running two versions of php. I issued the following:      sudo service php7.0-fpm  reload  There was no separate service for 5.6 but this worked.  
  > **username_3**: Dumb question but how do I found out what to put in `<your php service>`. cUrl was already installed before I installed CiviCRM but I'm getting this message anyways and want to see if this still helps.  
  > **username_2**: Hi username_3! `service` is a command to manage running daemons, and (assuming a particular kind of *nix/distro, anyway) you can list the services installed on your system with `sudo service --status-all`. Likely candidates are `php5-fpm`, `php7.0-fpm` etc. In the absence of any php-ish things, probably you want `apache2` or `httpd` ... but look for PHP services first :)  
  > **username_3**: Thanks! `service apache2 reload` worked for me. Edit: or not. I'll post a separate question.  
  
  ---
  
  ### Answer by username_1 on 2017-08-26. Score: 1
  
  if you're running apache, did you restart it after installing php-curl?
  
  > **Comments:**
  > **username_2**: You put it far more succinctly than I did   
  > **username_1**: but you showed citations and details. I think you won :)  
  > **username_0**: Yes but I did not restart php-fpm which I will do when I get back to this project  
  
  ---
  
  