Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Call to undefined function curl_init() (bug #1918)

    General pfSense Questions
    3
    4
    1698
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maxkalashnikov last edited by

      I'm having the problem described in bug #1918, but that bug was rejected, saying to post to the Forum or mailing list, so here I am:

      Fatal error: Call to undefined function curl_init() in /etc/inc/pfsense-utils.inc on line 1457

      I get this in the firware update section, and it appears to be adversely affecting installing new packages and dynamic DNS.

      Does anyone have a workaround?

      1 Reply Last reply Reply Quote 0
      • stephenw10
        stephenw10 Netgate Administrator last edited by

        pfSense version?
        Clean install or upgrade?
        Do you have packages installed?

        Have you tried the suggestions in http://redmine.pfsense.org/issues/1918 ?

        Steve

        1 Reply Last reply Reply Quote 0
        • C
          cmb last edited by

          That means you're missing or have broken part of PHP itself. Usually that only happens when people mess around with pkg_add and their own custom things, though it's possible an unstable package could have somehow broken php5-curl. Applying a firmware update to the version you're already running will fix PHP, though it'd be good to know how you got it to that point in the first place, if there's a specific package that breaks php5-curl it needs to be removed or fixed.

          1 Reply Last reply Reply Quote 0
          • M
            maxkalashnikov last edited by

            I'm thinking that my pkg_add of a newer curl broke things at some point. Comparing to an absolutely clean installation, I discovered the following difference:

            
            diff php.ini php.ini.prev 
            27d26
            < extension=curl.so
            
            

            Fixing that fixed the issue.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Products

            • Platform Overview
            • TNSR
            • pfSense Plus
            • Appliances

            Services

            • Training
            • Professional Services

            Support

            • Subscription Plans
            • Contact Support
            • Product Lifecycle
            • Documentation

            News

            • Media Coverage
            • Press
            • Events

            Resources

            • Blog
            • FAQ
            • Find a Partner
            • Resource Library
            • Security Information

            Company

            • About Us
            • Careers
            • Partners
            • Contact Us
            • Legal
            Our Mission

            We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

            Subscribe to our Newsletter

            Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

            © 2021 Rubicon Communications, LLC | Privacy Policy