Project

General

Profile

Actions

Bug #14550

closed

MySQLi PHP module missing after upgrade from 2.6 to 2.7

Added by Jefeson Alves about 2 years ago. Updated about 2 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Upgrade
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.7.x
Affected Architecture:
amd64

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

Actions #1

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.

Actions #2

Updated by Jefeson Alves about 2 years ago

The suggestion worked well! Thanks for your help!

Actions

Also available in: Atom PDF