• When I try to activate the plugin I get the error – HubSpot for Gravity Forms requires PHP 5.5 or newer, with cURL enabled. I am running PHP 7 and cURL is enabled. Not sure how to fix this issue.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chris Lagasse

    (@soben)

    Hey rawbstone,

    In order to check for both of those pieces of system configuration, I check for the specific components that I need in order to run.

    if (version_compare(PHP_VERSION, '5.5.0', "<")) {
        return false;
    }
    
    if (!function_exists('curl_reset')) {
        return false;
    }
    
    return true;

    curl_reset is found only in PHP 5.5 and higher that includes cURL… Have you confirmed, via Gravity Forms’s “System Status” (Forms > System Status) that WordPress (and especially GF) recognizes your PHP7?

    I’ve had another thread on here before in which someone believed they had PHP7, but turned out they didn’t. Not saying that’s your case too, but just wanted to confirm, before continuing working to resolve.

    Thanks,
    -Chris.

    Hi rawbstone – Were you able to overcome the issue? I am facing the same thing now.

    Chris – What should I do to fix this? Can you please support.

    Thanks.

    Salman

    • This reply was modified 7 years, 1 month ago by slmnm.
    • This reply was modified 7 years, 1 month ago by slmnm.
    Plugin Author Chris Lagasse

    (@soben)

    Hey slmnm,

    Sorry for the delay on this, We have been busy.

    Are you able to check the code and confirm that cURL indeed has the curl_reset function available, and what the constant “PHP_VERSION” contains?

    As I mentioned in my response, those are the two things I check to make sure you’re using the right version of PHP and cURL… and are the only two things that can stop you from using the plugin with the error message described.

    Thanks,
    -Chris.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HubSpot for Gravity Forms requires PHP 5.5 or newer, with cURL enabled.’ is closed to new replies.