Bug #14550
closedMySQLi PHP module missing after upgrade from 2.6 to 2.7
0%
Description
After upgrading from version 2.6 to 2.7 on the amd64 architecture, the following crash report message is displayed on the Dashboard:
pfSense has detected a crash report or programming bug. Click here for more information.
[05-Jul-2023 22:14:57 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli.so' (tried: /usr/local/lib/php/20220829/mysqli.so (Cannot open "/usr/local/lib/php/20220829/mysqli.so"), /usr/local/lib/php/20220829/mysqli.so.so (Cannot open "/usr/local/lib/php/20220829/mysqli.so.so")) in Unknown on line 0
Updated by Jim Pingle about 2 years ago
- Subject changed from Error PHP after upgrade from 2.6 to 2.7 to MySQLi PHP module missing after upgrade from 2.6 to 2.7
- Status changed from New to Not a Bug
That module is not included in the base OS but is available as an add-on. You must install/track manually, it may not have followed the PHP upgrade since it's not a part of base or traditional packages, just available in the repository.
If you reinstall the current module pkg it should work:
pkg install php82-mysqli
If that does not work, please post on the forum to discuss and diagnose the problem.
Updated by Jefeson Alves about 2 years ago
The suggestion worked well! Thanks for your help!