Project

General

Profile

Actions

Feature #13446

closed

Upgrade PHP from 7.4 to 8.1

Added by Reid Linnemann about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
PHP Interpreter
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Plus Target Version:
23.01
Release Notes:
Default

Description

php 7.4 is EOL Nov. 28, 2022. We are migrating to php 8.1 as a result. Several changes will need to be made to accomplish this, including but not limited to:

  • Changing the php version for the package builds
  • System update changes to handle the transition from php74 to php81
  • Code changes to accommodate changing semantics in expression evaluation and function behavior
    • Arrays no longer can be indexed with curly brace syntax
    • Default flags for htmlspecialchars changed from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401

Subtasks 45 (0 open45 closed)

Bug #13317: ``array_filter`` PHP Errors in ``interfaces.inc``ResolvedReid Linnemann

Actions
Regression #13512: PHP 8.1 Syntax Error in DNS Resolver Configuration ScreenResolvedJim Pingle

Actions
pfSense Packages - Bug #13513: Cannot install SquidResolvedReid Linnemann

Actions
Regression #13514: PHP 8.1 - Syntax error when disabling a gateway under SYSTEM > GATEWAYS > EDITResolvedChristian McDonald

Actions
pfSense Packages - Bug #13515: Snort with PHP 8.1 - TypeError when saving edits to an interfaceResolved

Actions
pfSense Packages - Bug #13516: Snort with PHP 8.1 - TypeError when attempting to view a Suppression List on a Snort interfaceResolved

Actions
pfSense Packages - Bug #13531: Suricata GUI broken with PHP 8.1Resolved

Actions
Regression #13535: Pfsense 2.7 (14.0-CURRENT) - Freeradius, Pfblocker not working or showing up in menuResolvedChristian McDonald

Actions
Regression #13553: PHP error when creating a new limiterResolvedChristian McDonald

Actions
Regression #13559: GUI not starting after update to 2.7ResolvedChristian McDonald

Actions
Regression #13563: PHP Error when attempting to save configuration after disabling a gatewayResolvedChristian McDonald

Actions
pfSense Packages - Bug #13564: PHP error after creating a Route MapResolvedReid Linnemann

Actions
pfSense Packages - Bug #13566: Non-devel pfBlocker Package Broken in 2.7 CE with PHP 8.1ResolvedChristian McDonald

Actions
pfSense Packages - Regression #13570: openvpn-client-export php error in 2.7ResolvedJim Pingle

Actions
Regression #13581: Empty Dynamic DNS entry causes PHP errors in various contextsResolvedJim Pingle

Actions
Regression #13583: PHP error when defining an IP address and gateway manually from the Console menu using option 2) Set Interface(s) IP addressResolvedChristian McDonald

Actions
pfSense Packages - Bug #13589: PHP Errors during cellular package installation on CE 2.7ResolvedJim Pingle

Actions
pfSense Packages - Regression #13597: haproxy-devel PHP8 regression when saving a backend entryResolvedMarcos M

Actions
Regression #13599: Error when disabling sshdResolvedChristian McDonald

Actions
Bug #13607: Malformed format strings in French translation causing PHP errors.ResolvedChristian McDonald

Actions
pfSense Packages - Bug #13609: Editing ACLs in BIND Package Produces PHP error in CE 2.7.XResolvedChristian McDonald

Actions
Regression #13614: Cannot Edit Firewall Rules - 2.7.0-DEVELOPMENT (amd64) built on Mon Oct 31 06:05:27 UTC 2022ResolvedReid Linnemann

Actions
pfSense Packages - Bug #13619: PHP Error in pfblockerNG-devel widgetResolvedReid Linnemann

Actions
Regression #13627: PHP: Easyrule from the firewall logResolvedJim Pingle

Actions
pfSense Packages - Regression #13628: FreeRADIUS Users cleared out each time a user is add, removed, or modifiedResolvedMarcos M

Actions
pfSense Packages - Bug #13640: PHP Error: util.inc:1932ResolvedReid Linnemann

Actions
pfSense Packages - Bug #13642: PHP Error: frr_zebra.inc:159ResolvedReid Linnemann

Actions
Bug #13645: PHP errors regarding sshResolvedReid Linnemann

Actions
Bug #13659: replace direct config accesses for system/webgui paths in system_advanced_admin.incResolvedReid Linnemann

Actions
Regression #13660: PHP8.1 error after applying floating rules changesResolvedReid Linnemann

Actions
Regression #13661: Input validation issues on firewall_shaper.phpResolvedReid Linnemann

Actions
Regression #13663: WIFI interface configuration creates invalid xmlResolvedJim Pingle

Actions
Bug #13676: PHP errors on services_dhcpv6_relay.phpResolvedReid Linnemann

Actions
pfSense Packages - Regression #13697: pfBlockerNG alerts error on 2.7.0 devel and PHP 8.1ResolvedReid Linnemann

Actions
Regression #13705: PHP8.1 Captive Portal TypeErrorResolvedChristian McDonald

Actions
pfSense Packages - Regression #13714: PHP8.1 error when adding a new interface.Resolved

Actions
Regression #13719: PHP8.1 error when saving DHCP Server settings.ResolvedMarcos M

Actions
pfSense Packages - Bug #13752: Avahi broken on PHP 8.1ResolvedJim Pingle

Actions
pfSense Packages - Bug #13774: PIMD Interfaces drop-down empty on dev snapshots w/PHP 8.1ResolvedJim Pingle

Actions
pfSense Packages - Bug #13775: Status Traffic Totals PHP error on dev snapshots w/PHP 8.1ResolvedJim Pingle

Actions
Regression #13781: DNS Forwarder: PHP error in ``services_dnsmasq_edit``ResolvedJim Pingle

Actions
pfSense Plus - Bug #13799: Unbound python module persistently shows enabled in resolver settingsResolvedChristian McDonald

Actions
Regression #13876: PHP error on diag_backup.php with no packages installedResolvedJim Pingle

Actions
Regression #13890: Captive Portal Voucher Rolls Status "Fatal error"ResolvedJim Pingle

Actions
pfSense Packages - Regression #13892: PHP error from ``status_monitoring.php`` with empty OpenVPN serversResolvedJim Pingle

Actions
Actions

Also available in: Atom PDF