Fix for php8.3
This commit is contained in:
@@ -457,7 +457,8 @@ class WOStackController(CementBaseController):
|
||||
WOAptGet.is_installed(self, 'php7.4-fpm') or
|
||||
WOAptGet.is_installed(self, 'php8.0-fpm') or
|
||||
WOAptGet.is_installed(self, 'php8.1-fpm') or
|
||||
WOAptGet.is_installed(self, 'php8.2-fpm')):
|
||||
WOAptGet.is_installed(self, 'php8.2-fpm') or
|
||||
WOAptGet.is_installed(self, 'php8.3-fpm')):
|
||||
pargs.php = True
|
||||
Log.debug(self, "Setting packages variable for utils")
|
||||
packages = packages + [[
|
||||
|
||||
@@ -98,7 +98,8 @@ def pre_pref(self, apt_packages):
|
||||
('php7.4-fpm' in apt_packages) or
|
||||
('php8.0-fpm' in apt_packages) or
|
||||
('php8.1-fpm' in apt_packages) or
|
||||
('php8.2-fpm' in apt_packages)):
|
||||
('php8.2-fpm' in apt_packages) or
|
||||
('php8.3-fpm' in apt_packages)):
|
||||
if (WOVar.wo_distro == 'ubuntu'):
|
||||
Log.debug(self, 'Adding ppa for PHP')
|
||||
Log.info(self, "Adding repository for PHP, please wait...")
|
||||
|
||||
@@ -284,6 +284,7 @@ class WOStackUpgradeController(CementBaseController):
|
||||
"php8.0-fpm" in apt_packages or
|
||||
"php8.1-fpm" in apt_packages or
|
||||
"php8.2-fpm" in apt_packages or
|
||||
"php8.3-fpm" in apt_packages or
|
||||
"redis-server" in apt_packages or
|
||||
"nginx-custom" in apt_packages or
|
||||
"mariadb-server" in apt_packages):
|
||||
|
||||
Reference in New Issue
Block a user