diff --git a/CPScripts/mailscannerinstaller.sh b/CPScripts/mailscannerinstaller.sh
index cb9464b19..f956ae0cb 100644
--- a/CPScripts/mailscannerinstaller.sh
+++ b/CPScripts/mailscannerinstaller.sh
@@ -74,7 +74,7 @@ elif [ "$CENTOSVERSION" = "VERSION_ID=\"8\"" ];then
setenforce 0
yum install -y perl yum-utils perl-CPAN
-dnf --enablerepo=PowerTools install -y perl-IO-stringy
+dnf --enablerepo=powertools install -y perl-IO-stringy
yum install -y gcc cpp perl bzip2 zip make patch automake rpm-build perl-Archive-Zip perl-Filesys-Df perl-OLE-Storage_Lite perl-Net-CIDR perl-DBI perl-MIME-tools perl-DBD-SQLite binutils glibc-devel perl-Filesys-Df zlib unzip zlib-devel wget mlocate clamav clamav-update "perl(DBD::mysql)"
rpm -Uvh https://forensics.cert.org/centos/cert/8/x86_64/unrar-5.4.0-1.el8.x86_64.rpm
diff --git a/cyberpanel.sh b/cyberpanel.sh
index c4586ff9e..a943d2c27 100644
--- a/cyberpanel.sh
+++ b/cyberpanel.sh
@@ -472,7 +472,7 @@ EOF
if [[ $CENTOS_8 == "True" ]]; then
dnf install -y wget strace net-tools curl which bc telnet htop libevent-devel gcc libattr-devel xz-devel mariadb-devel curl-devel git platform-python-devel tar socat python3
check_return
- dnf --enablerepo=PowerTools install gpgme-devel -y
+ dnf --enablerepo=powertools install gpgme-devel -y
check_return
fi
ln -s /usr/bin/pip3 /usr/bin/pip
diff --git a/cyberpanel_upgrade.sh b/cyberpanel_upgrade.sh
index b1bacf68f..797930afd 100644
--- a/cyberpanel_upgrade.sh
+++ b/cyberpanel_upgrade.sh
@@ -292,7 +292,7 @@ EOF
elif [ $SERVER_OS = "CentOS8" ]; then
dnf install -y wget strace htop net-tools telnet curl which bc telnet htop libevent-devel gcc libattr-devel xz-devel mariadb-devel curl-devel git platform-python-devel tar socat
- dnf --enablerepo=PowerTools install gpgme-devel -y
+ dnf --enablerepo=powertools install gpgme-devel -y
dnf install python3 -y
else
apt update -y
diff --git a/managePHP/php80.xml b/managePHP/php80.xml
new file mode 100755
index 000000000..c95d94cee
--- /dev/null
+++ b/managePHP/php80.xml
@@ -0,0 +1,275 @@
+
+
+ php80
+
+
+ lsphp80-debuginfo
+ Debug information for package lsphp80
+ 0
+
+
+
+ lsphp80-pecl-igbinary-debuginfo
+ Debug information for package lsphp80-pecl-igbinary
+ 0
+
+
+
+ lsphp80-pecl-mcrypt-debuginfo
+ lsphp80 lsphp80-pecl-mcrypt-debuginfo Extension
+ 0
+
+
+
+ lsphp80-bcmath
+ A extension for PHP applications for using the bcmath library.
+ 1
+
+
+
+ lsphp80-common
+ Common files for PHP.
+ 1
+
+
+
+ lsphp80-dba
+ A database abstraction layer extension for PHP applications.
+ 1
+
+
+
+ lsphp80-devel
+ Files needed for building PHP extensions.
+ 0
+
+
+
+ lsphp80-enchant
+ Enchant spelling extension for PHP applications.
+ 1
+
+
+
+ lsphp80-gd
+ A extension for PHP applications for using the gd graphics library.
+ 1
+
+
+
+ lsphp80-gmp
+ A extension for PHP applications for using the GNU MP library.
+ 1
+
+
+
+ lsphp80-imap
+ A extension for PHP applications that use IMAP.
+ 1
+
+
+
+ lsphp80-intl
+ Internationalization extension for PHP applications.
+ 1
+
+
+
+ lsphp80-json
+ lsphp80 Json PHP Extension
+ 1
+
+
+
+ lsphp80-ldap
+ A extension for PHP applications that use LDAP.
+ 1
+
+
+
+ lsphp80-mbstring
+ A extension for PHP applications which need multi-byte string handling.
+ 1
+
+
+
+ lsphp80-mysqlnd
+ A extension for PHP applications that use MySQL databases.
+ 1
+
+
+
+ lsphp80-odbc
+ A extension for PHP applications that use ODBC databases.
+ 1
+
+
+
+ lsphp80-opcache
+ The Zend OPcache.
+ 1
+
+
+
+ lsphp80-pdo
+ A database access abstraction extension for PHP applications.
+ 1
+
+
+
+ lsphp80-pear
+ PHP Extension and Application Repository framework.
+ 1
+
+
+
+ lsphp80-pecl-apcu
+ APC User Cache.
+ 0
+
+
+
+ lsphp80-pecl-apcu-devel
+ APCu developer files (header).
+ 0
+
+
+
+ lsphp80-pecl-apcu-panel
+ APCu control panel.
+ 0
+
+
+
+ lsphp80-pecl-igbinary
+ Replacement for the standard PHP serializer.
+ 0
+
+
+
+ lsphp80-pecl-igbinary-devel
+ Igbinary developer files (header).
+ 0
+
+
+
+ lsphp80-pecl-mcrypt
+ lsphp80 lsphp80-pecl-mcrypt Extension.
+ 0
+
+
+
+ lsphp80-pecl-memcache
+ Extension to work with the Memcached caching daemon.
+ 0
+
+
+
+ lsphp80-pecl-memcached
+ Extension to work with the Memcached caching daemon.
+ 0
+
+
+
+ lsphp80-pecl-msgpack
+ API for communicating with MessagePack serialization.
+ 0
+
+
+
+ lsphp80-pecl-msgpack-devel
+ MessagePack developer files (header).
+ 0
+
+
+
+ lsphp80-pecl-redis
+ Extension for communicating with the Redis key-value store.
+ 0
+
+
+
+ lsphp80-pgsql
+ A PostgreSQL database extension for PHP.
+ 1
+
+
+
+ lsphp80-process
+ extensions for PHP script using system process interfaces.
+ 1
+
+
+
+ lsphp80-pspell
+ A extension for PHP applications for using pspell interfaces.
+ 1
+
+
+
+ lsphp80-recode
+ A extension for PHP applications for using the recode library.
+ 1
+
+
+
+ lsphp80-snmp
+ A extension for PHP applications that query SNMP-managed devices.
+ 1
+
+
+
+ lsphp80-soap
+ A extension for PHP applications that use the SOAP protocol.
+ 1
+
+
+
+ lsphp80-tidy
+ Standard PHP extension provides tidy library support.
+ 1
+
+
+
+ lsphp80-xml
+ A module for PHP applications which use XML.
+ 1
+
+
+
+ lsphp80-xmlrpc
+ A extension for PHP applications which use the XML-RPC protocol.
+ 1
+
+
+
+ lsphp80-zip
+ ZIP archive management extension for PHP
+ 0
+
+
+
+ lsphp80-mcrypt
+ Standard PHP extension provides mcrypt library support.
+ 1
+
+
+
+ lsphp80-dbg
+ php73-dbg lsphp80-package
+ 0
+
+
+
+ lsphp80-ioncube
+ ioncube loaders
+ 0
+
+
+
+ lsphp80-pecl-imagick
+ Extension to create and modify images using ImageMagick
+ 0
+
+
+
diff --git a/managePHP/ubuntuphp80.xml b/managePHP/ubuntuphp80.xml
new file mode 100755
index 000000000..61ef9d667
--- /dev/null
+++ b/managePHP/ubuntuphp80.xml
@@ -0,0 +1,125 @@
+
+
+ php80
+
+
+ lsphp80-common
+ Most of what you need.
+ 1
+
+
+
+ lsphp80-curl
+ Curl (common web tools) required for PHP
+ 1
+
+
+
+ lsphp80-dbg
+ Debugging extension
+ 0
+
+
+
+ lsphp80-dev
+ Development features almost always required.
+ 1
+
+
+
+ lsphp80-imap
+ Email extensions for PHP.
+ 1
+
+
+
+ lsphp80-intl
+ Extensions for countries other than the U.S.
+ 1
+
+
+
+ lsphp80-json
+ PHP extensions for JavaScript Object Notation.
+ 1
+
+
+
+ lsphp80-ldap
+ PHP extensions for LDAP (directory access protocol)
+ 1
+
+
+
+ lsphp80-modules-source
+ PHP source modules for virtually everything. Very large.
+ 0
+
+
+
+ lsphp80-mysql
+ PHP extension for MySQL or MariaDB databases.
+ 1
+
+
+
+ lsphp80-opcache
+ PHP low-level caching of code. Very important for performance.
+ 1
+
+
+
+ lsphp80-pgsql
+ A PostgreSQL database extension for PHP.
+ 0
+
+
+
+ lsphp80-pspell
+ PHP spell checking extensions.
+ 0
+
+
+
+ lsphp80-recode
+ PHP extension to transform data between different character sets.
+ 1
+
+
+
+ lsphp80-snmp
+ PHP network management extensions.
+ 0
+
+
+
+ lsphp80-sqlite3
+ An extension for PHP applications that use the SQLite v3 features.
+ 1
+
+
+
+ lsphp80-sybase
+ An extension for PHP applications that use Sybase databases.
+ 0
+
+
+
+ lsphp80-tidy
+ PHP extensions for manipulating HTML, XHTML and XML documents.
+ 1
+
+
+
+ lsphp80-ioncube
+ ioncube loaders
+ 0
+
+
+
+ lsphp80-imagick
+ Extension to create and modify images using ImageMagick
+ 0
+
+
+
diff --git a/managePHP/views.py b/managePHP/views.py
index 8adf0f89d..9f672a3c9 100755
--- a/managePHP/views.py
+++ b/managePHP/views.py
@@ -1218,6 +1218,34 @@ def installExtensions(request):
status=status)
phpExtension.save()
+ try:
+ newPHP80 = PHP(phpVers="php80")
+ newPHP80.save()
+
+ php80Path = ''
+
+ if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
+ php80Path = os.path.join('/usr', 'local', 'CyberCP', 'managePHP', 'php80.xml')
+ else:
+ php80Path = os.path.join('/usr', 'local', 'CyberCP', 'managePHP', 'ubuntuphp80.xml')
+
+ php80 = ElementTree.parse(php80Path)
+
+ php80Extensions = php80.findall('extension')
+
+ for extension in php80Extensions:
+ extensionName = extension.find('extensionName').text
+ extensionDescription = extension.find('extensionDescription').text
+ status = int(extension.find('status').text)
+
+ phpExtension = installedPackages(phpVers=newPHP80,
+ extensionName=extensionName,
+ description=extensionDescription,
+ status=status)
+
+ phpExtension.save()
+ except:
+ pass
return render(request, 'managePHP/installExtensions.html', {'phps': PHPManager.findPHPVersions()})
except KeyError: