Actions
Feature #13446
closedUpgrade PHP from 7.4 to 8.1
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
toENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401
Updated by Reid Linnemann over 2 years ago
Commits already made that do not reference this issue:
c064bf3244 * Replace another config access in authgui.inc c4117e8348 * Make array/config_set_path() create intermediary paths 84ba2e6e39 * Restore scope to address sent to Net_IPv6::compress now that it is fixed 2cd097e540 * Replace direct config accessin openvpn.inc e0012fc384 * Fix missing format specifier in input field help d0ca7530fe * Replace direct config accesses in status_graph.php, status_ntpd.php 466d0e9639 * Correct format specifier in input help 910a1f7462 * Fix warnings in firewall_virtual_ip.inc 66ab66c34d * Replace direct config array access in diag_packet_capture.php 746f30e3ce * Add config and config lib requires to guionfig.inc 1073f4c64a * Remove direct config array accesses from firewall_virtual_ip.inc eec3ca7f7d * Add config/array_del_path helper function and associated test 3bea27fd5a * Rename run_dhcp6client_process param to debugOption 18ad79330e * Correct a stray single quote in a config path 27cb0c5a43 * In get_ll_scope(), remove intermediate $scope variable 63de060fcc * Remove '/enable' from a path given to config_path_enabled() 1ae906ba20 * Clean up declared and unused variables in config.console.inc 123efede33 * Fix some missing '/'es in config paths 2ca58ffd8c * Replace several direct config accesses in filter.inc dc337505fc * Fix unused and undefined variable warnings in util.inc 24b3f37e51 * Fix unexpected type string for exec output 5daccf2d5e * Fix undefined and unused variable warnings in interfaces.inc 207482a5fd * Replace direct config array accesses in interfaces.inc 345d9f0e95 * Replace some direct config array accesses in wizard.php a949b7ae0d * Correct deprecated implode() syntax 2f971e2294 * Fix warnings in guiconfig.inc, unexpanded string in get_config_path call a329c99b97 * Replace config array accesses in guiconfig.inc 2d5c75fa9e * Change some config array accesses in interfaces.php 4964770922 * Replace some config array access in services_dnsmasq.inc 5922dddf78 * Replace config array accesses in create_interface_list() fab98cb6d6 * Fix multilevel array access outside config in util.inc 077588c354 * Make list assign from explode output safer 5833da659d * Fix some undefined variable warnings 988a687c70 * Fix several unsafe multilevel config array accesses in setup wizard b4d8cf58d7 * Correct single quoted string with parameter expansion c6188970ed * Silence unused/undef'd variable warnings in filter.inc 4c16247e47 * Replace multilevel config array access around the web gui port f5b9146243 * Replace multilevel config array accesses regarding openvpn a25e9691a1 * Replace multilevel array accesses regarding v4 and v6 gateways 9fb6cc1841 * Replace more problematic multilevel config array access 51e30f1100 * Fix text_to_compressed_ipv6() to omit %ifname from v6 addresses 41025e0abf * Use config_path_enabled() and config_get_path() for troublesome paths 0321579175 * Add config_path_enabled() function and associated tests 10ad25403b * Replace more direct config array access with config_get_path() 1376d10967 * Change numerous direct references into config to config_get_path() 0595258266 * Correct dhcpv6 enable check to use config_get_path() fb2be38ac6 * Use config_get_path for openvpn interfaces and ifgroups 09d0ff02b2 * Use config_get_path for looking up static ARP entries 29bed7608a * Use config_get_path() for friendly ifnames and vlan configs 926479e873 * Make php stdout and stderr less verbose for nonfatal messages 6d0aa23df1 * Add missing require of interfaces.inc to util.inc de3f6463ca * Correct required param after optional param syntax errors ddf7b2dbc4 * Silence warnings about missing global key 'booting' 92abdaf028 * Add config_get_path and config_set_path for config element access 47fb5604e9 * Inhibit startup error printing to stdout in read_global_var dfd11d44f1 * Add php81 extensions dir path 22c89db32a * Use array_values() to expand $cert_curve_compatible b880c1a349 * Select default php version 8.1
Updated by Christian McDonald over 2 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset 44b9361678c1fea45a0eb83501e5a1dcd0f877cb.
Updated by Jim Pingle about 2 years ago
- Tracker changed from Todo to Feature
- Subject changed from Upgrade to php from 7.4 to 8.1 to Upgrade PHP from 7.4 to 8.1
- Target version set to 2.7.0
- Private changed from Yes to No
- Plus Target Version set to 23.01
Fixing this up so we can use it as a parent issue for all the various PHP-related issues being tracked
Updated by Jim Pingle almost 2 years ago
- Status changed from Feedback to Closed
All done for 23.01. New issues can be handled separately.
Actions