Fix for php8.3
This commit is contained in:
2
setup.py
2
setup.py
@@ -27,7 +27,7 @@ if os.geteuid() == 0:
|
|||||||
os.makedirs('/var/lib/wo/tmp/')
|
os.makedirs('/var/lib/wo/tmp/')
|
||||||
|
|
||||||
setup(name='wordops',
|
setup(name='wordops',
|
||||||
version='3.18.1',
|
version='3.19.0',
|
||||||
description='An essential toolset that eases server administration',
|
description='An essential toolset that eases server administration',
|
||||||
long_description=LONG,
|
long_description=LONG,
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
|
|||||||
@@ -457,7 +457,8 @@ class WOStackController(CementBaseController):
|
|||||||
WOAptGet.is_installed(self, 'php7.4-fpm') or
|
WOAptGet.is_installed(self, 'php7.4-fpm') or
|
||||||
WOAptGet.is_installed(self, 'php8.0-fpm') or
|
WOAptGet.is_installed(self, 'php8.0-fpm') or
|
||||||
WOAptGet.is_installed(self, 'php8.1-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
|
pargs.php = True
|
||||||
Log.debug(self, "Setting packages variable for utils")
|
Log.debug(self, "Setting packages variable for utils")
|
||||||
packages = packages + [[
|
packages = packages + [[
|
||||||
|
|||||||
@@ -98,7 +98,8 @@ def pre_pref(self, apt_packages):
|
|||||||
('php7.4-fpm' in apt_packages) or
|
('php7.4-fpm' in apt_packages) or
|
||||||
('php8.0-fpm' in apt_packages) or
|
('php8.0-fpm' in apt_packages) or
|
||||||
('php8.1-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'):
|
if (WOVar.wo_distro == 'ubuntu'):
|
||||||
Log.debug(self, 'Adding ppa for PHP')
|
Log.debug(self, 'Adding ppa for PHP')
|
||||||
Log.info(self, "Adding repository for PHP, please wait...")
|
Log.info(self, "Adding repository for PHP, please wait...")
|
||||||
|
|||||||
@@ -284,6 +284,7 @@ class WOStackUpgradeController(CementBaseController):
|
|||||||
"php8.0-fpm" in apt_packages or
|
"php8.0-fpm" in apt_packages or
|
||||||
"php8.1-fpm" in apt_packages or
|
"php8.1-fpm" in apt_packages or
|
||||||
"php8.2-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
|
"redis-server" in apt_packages or
|
||||||
"nginx-custom" in apt_packages or
|
"nginx-custom" in apt_packages or
|
||||||
"mariadb-server" in apt_packages):
|
"mariadb-server" in apt_packages):
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ class WOVar():
|
|||||||
"""Intialization of core variables"""
|
"""Intialization of core variables"""
|
||||||
|
|
||||||
# WordOps version
|
# WordOps version
|
||||||
wo_version = "3.18.1"
|
wo_version = "3.19.0"
|
||||||
# WordOps packages versions
|
# WordOps packages versions
|
||||||
wo_wp_cli = "2.8.1"
|
wo_wp_cli = "2.8.1"
|
||||||
wo_adminer = "4.8.1"
|
wo_adminer = "4.8.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user