TrinityCore / minimanager

TrinityCore Web management tool
33 stars 38 forks source link

PHP 8 upgrade #74

Closed flashadvocate closed 1 year ago

flashadvocate commented 1 year ago

Seems to function fine in PHP 7.4 all the way up to PHP 8.2. Of course 74 is now EOL so folks should move at least to 8.0. This PR fixes a few things that become fatal errors in PHP 8, as well as a few other minor housekeeping changes.

Also adds a docker environment including the two PHP extension dependencies (php-gp, and mysqli) as well as PHP 8.0. The mysql init script handles the mmftc database population, but stops short of injecting the DBC.

flashadvocate commented 1 year ago

@Aokromes I believe this is good to go.