Lots of PHP errors after upgrade to 24.03
-
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/FreeBSCrash 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 0No FreeBSD crash data found.
-
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.
-
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?
-
@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?
-
@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