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

    Lots of PHP errors after upgrade to 24.03

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 2 Posters 613 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.
    • R
      rrauenza
      last edited by rrauenza

      This looks similar to an issue reported here: https://forum.netgate.com/topic/186609/latest-snapshots-with-php-problems

      I've removed any packages that explicitly depend on php (like pfblocker and acme).

      I can no longer open the wireguard page, wg/vpn_wg_tunnels.php ...

      This seems like a conflict within the product and not from third party packages?

      -------------8<-------------
      Crash report begins. Anonymous machine information:

      amd64
      15.0-CURRENT
      FreeBSD 15.0-CURRENT #0 plus-RELENG_24_03-n256311-e71f834dd81: Fri Apr 19 00:28:14 UTC 2024 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/obj/amd64/Y4MAEJ2R/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/sources/FreeBS

      Crash report details:

      PHP Errors:
      [28-Apr-2024 16:11:58 UTC] PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/20230831/opcache.so (/usr/local/lib/php/20230831/opcache.so: Undefined symbol "zend_enum_object_handlers"), /usr/local/lib/php/20230831/opcache.so.so (Cannot open "/usr/local/lib/php/20230831/opcache.so.so")) in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: session: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: bcmath: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: bz2: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: ctype: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: curl: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: dom: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: filter: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: gettext: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: gmp: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: intl: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: ldap: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: libbe: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: mbstring: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: mcrypt: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: pcntl: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: PDO: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: pfSense: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: posix: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: radius: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: readline: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: rrd: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: shmop: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: SimpleXML: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: sockets: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: sqlite3: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: sysvmsg: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: sysvsem: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: sysvshm: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: tokenizer: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: xml: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: xmlwriter: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: zlib: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
      Module compiled with module API=20230831
      PHP compiled with module API=20220829
      These options need to match
      in Unknown on line 0
      [28-Apr-2024 16:11:58 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'xmlreader.so' (tried: /usr/local/lib/php/20230831/xmlreader.so (/usr/local/lib/php/20230831/xmlreader.so: Undefined symbol "dom_node_class_entry"), /usr/local/lib/php/20230831/xmlreader.so.so (Cannot open "/usr/local/lib/php/20230831/xmlreader.so.so")) in Unknown on line 0

      No FreeBSD crash data found.

      1 Reply Last reply Reply Quote 0
      • R
        rrauenza
        last edited by

        Hmm, https://forum.netgate.com/topic/187047/pfsense-plus-upgraded-to-beta-24-03-b-20240322-1708-caused-crash-report/4?_=1714321882842 says to reinstall wireguard.

        ...I don't actually have wireguard installed as an external package, but it shows up under VPN and Status menus.

        ...installing it.... menu now works. Rebooting to see if that clears error.

        1 Reply Last reply Reply Quote 0
        • R
          rrauenza
          last edited by

          And they're gone now. Success.

          Interesting. I wonder if I had some remnant of the Wireguard package installed even though it was not installed. Could a backup restore have caused that?

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @rrauenza
            last edited by

            @rrauenza A restore will reinstall packages but if the package had been removed it doesn’t reinstall. Wireguard is part of the default Plus install…had you uninstalled it?

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote 👍 helpful posts!

            R 1 Reply Last reply Reply Quote 0
            • R
              rrauenza @SteveITS
              last edited by

              @SteveITS I don't think I uninstalled plus.

              I believe at some point I must have reinstalled the image in order to get ZFS and then I restored from whatever config backup I had.

              ...maybe I explicitly uninstalled Wireguard at some point. This is a home setup, so I don't keep notes on it like one might for a business install :)

              Rich

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