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

    PHP errors

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 2 Posters 933 Views
    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.
    • B
      bigjohns97
      last edited by

      Crash report details:

      PHP Errors:
      [06-Apr-2020 20:57:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20170718/curl.so (Shared object "libnghttp2.so.14" not found, required by "libcurl.so.4"), /usr/local/lib/php/20170718/curl.so.so (Cannot open "/usr/local/lib/php/20170718/curl.so.so")) in Unknown on line 0
      [06-Apr-2020 20:57:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'pfSense.so' (tried: /usr/local/lib/php/20170718/pfSense.so (Shared object "libvstr-1.0.so.0" not found, required by "libstrongswan.so.0"), /usr/local/lib/php/20170718/pfSense.so.so (Cannot open "/usr/local/lib/php/20170718/pfSense.so.so")) in Unknown on line 0
      [06-Apr-2020 20:57:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'rrd.so' (tried: /usr/local/lib/php/20170718/rrd.so (Shared object "libiconv.so.2" not found, required by "libglib-2.0.so.0"), /usr/local/lib/php/20170718/rrd.so.so (Cannot open "/usr/local/lib/php/20170718/rrd.so.so")) in Unknown on line 0
      [06-Apr-2020 20:57:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'zmq.so' (tried: /usr/local/lib/php/20170718/zmq.so (Shared object "libnorm.so.1" not found, required by "libzmq.so.5"), /usr/local/lib/php/20170718/zmq.so.so (Cannot open "/usr/local/lib/php/20170718/zmq.so.so")) in Unknown on line 0
      [06-Apr-2020 15:57:00 America/Chicago] PHP Fatal error: Uncaught Error: Call to undefined function pfSense_interface_listget() in /etc/inc/interfaces.inc:69
      Stack trace:
      #0 /etc/inc/interfaces.inc(86): get_interface_arr(true)
      #1 /etc/inc/interfaces.inc(5654): does_interface_exist('wan', true)
      #2 /etc/inc/pfsense-utils.inc(1602): get_real_interface('wan')
      #3 /usr/local/bin/telegraf_pfinterface.php(11): get_interface_info('wan')
      #4 {main}
      thrown in /etc/inc/interfaces.inc on line 69

      I am getting the following PHP errors on my pfsense install that is still working from a routing aspect but I am unable to find out why these errors are happening.

      The so files are in the directory but I cannot find those shared objects anywhere?

      1 Reply Last reply Reply Quote 0
      • B
        bigjohns97
        last edited by

        I found the shared objects and they are symlinked to another file right next to it but for some reason it can't find them, I think this started happening when i installed the sudo package from the package manager.

        1 Reply Last reply Reply Quote 0
        • dotdashD
          dotdash
          last edited by

          After 2.4.5 came out, there was a warning not to upgrade packages until you go to 2.4.5. You might want to update the firewall if you are still on 2.4.4

          B 1 Reply Last reply Reply Quote 1
          • B
            bigjohns97 @dotdash
            last edited by

            @dotdash I installed this after upgrading to 2.4.5, I wonder if there is a compatibility issue here?

            1 Reply Last reply Reply Quote 0
            • dotdashD
              dotdash
              last edited by

              Maybe. You might want to change the title to something like 'php errors after installing sudo' and see if you can get someone like @johnpoz to move the thread to the package section.

              1 Reply Last reply Reply Quote 0
              • B
                bigjohns97
                last edited by

                I went ahead and just blew everything away and started over. Once I rebooted and everything was down I figured it was time to start over.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.