Title: BUG: cURL availability check
Last modified: August 22, 2016

---

# BUG: cURL availability check

 *  [imcdona](https://wordpress.org/support/users/imcdona/)
 * (@imcdona)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/bug-curl-availability-check/)
 * I was getting “an error occurred” when trying to save the settings during the
   initial setup of WP-Piwik. The support page indicated that cURL was available.
   Running the test script showed that no results were being returned. eg. Result
   0.
 * The Apache error log showed that curl_exec had been disabled:
 * “PHP Warning: curl_exec() has been disabled for security reasons”
 * Removing curl_exec from disable_functions in php.ini resolved the issue.
 * Merely checking for the “presence” of curl isn’t enough. A check to see if it’s“
   available” needs to be done to account for websites that disable curl in php.
   ini for security reasons,
 * [https://wordpress.org/plugins/wp-piwik/](https://wordpress.org/plugins/wp-piwik/)

The topic ‘BUG: cURL availability check’ is closed to new replies.

 * ![](https://ps.w.org/wp-piwik/assets/icon-256x256.png?rev=3529668)
 * [Connect Matomo - Analytics Dashboard for WordPress](https://wordpress.org/plugins/wp-piwik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-piwik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-piwik/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-piwik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-piwik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-piwik/reviews/)

## Tags

 * [php.ini](https://wordpress.org/support/topic-tag/php-ini/)

 * 0 replies
 * 1 participant
 * Last reply from: [imcdona](https://wordpress.org/support/users/imcdona/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/bug-curl-availability-check/)
 * Status: not resolved