diff --git a/managePHP/php81.xml b/managePHP/php81.xml
new file mode 100644
index 000000000..1ca936318
--- /dev/null
+++ b/managePHP/php81.xml
@@ -0,0 +1,281 @@
+
+
+ php81
+
+
+ lsphp81-debuginfo
+ Debug information for package lsphp81
+ 0
+
+
+
+ lsphp81-pecl-igbinary-debuginfo
+ Debug information for package lsphp81-pecl-igbinary
+ 0
+
+
+
+ lsphp81-pecl-mcrypt-debuginfo
+ lsphp81 lsphp81-pecl-mcrypt-debuginfo Extension
+ 0
+
+
+
+ lsphp81-bcmath
+ A extension for PHP applications for using the bcmath library.
+ 1
+
+
+
+ lsphp81-common
+ Common files for PHP.
+ 1
+
+
+
+ lsphp81-dba
+ A database abstraction layer extension for PHP applications.
+ 1
+
+
+
+ lsphp81-devel
+ Files needed for building PHP extensions.
+ 0
+
+
+
+ lsphp81-enchant
+ Enchant spelling extension for PHP applications.
+ 1
+
+
+
+ lsphp81-gd
+ A extension for PHP applications for using the gd graphics library.
+ 1
+
+
+
+ lsphp81-gmp
+ A extension for PHP applications for using the GNU MP library.
+ 1
+
+
+
+ lsphp81-imap
+ A extension for PHP applications that use IMAP.
+ 1
+
+
+
+ lsphp81-intl
+ Internationalization extension for PHP applications.
+ 1
+
+
+
+ lsphp81-json
+ lsphp81 Json PHP Extension
+ 1
+
+
+
+ lsphp81-ldap
+ A extension for PHP applications that use LDAP.
+ 1
+
+
+
+ lsphp81-mbstring
+ A extension for PHP applications which need multi-byte string handling.
+ 1
+
+
+
+ lsphp81-mysqlnd
+ A extension for PHP applications that use MySQL databases.
+ 1
+
+
+
+ lsphp81-odbc
+ A extension for PHP applications that use ODBC databases.
+ 1
+
+
+
+ lsphp81-opcache
+ The Zend OPcache.
+ 1
+
+
+
+ lsphp81-pdo
+ A database access abstraction extension for PHP applications.
+ 1
+
+
+
+ lsphp81-pear
+ PHP Extension and Application Repository framework.
+ 1
+
+
+
+ lsphp81-pecl-apcu
+ APC User Cache.
+ 0
+
+
+
+ lsphp81-pecl-apcu-devel
+ APCu developer files (header).
+ 0
+
+
+
+ lsphp81-pecl-apcu-panel
+ APCu control panel.
+ 0
+
+
+
+ lsphp81-pecl-igbinary
+ Replacement for the standard PHP serializer.
+ 0
+
+
+
+ lsphp81-pecl-igbinary-devel
+ Igbinary developer files (header).
+ 0
+
+
+
+ lsphp81-pecl-mcrypt
+ lsphp81 lsphp81-pecl-mcrypt Extension.
+ 0
+
+
+
+ lsphp81-pecl-memcache
+ Extension to work with the Memcached caching daemon.
+ 0
+
+
+
+ lsphp81-pecl-memcached
+ Extension to work with the Memcached caching daemon.
+ 0
+
+
+
+ lsphp81-pecl-msgpack
+ API for communicating with MessagePack serialization.
+ 0
+
+
+
+ lsphp81-pecl-msgpack-devel
+ MessagePack developer files (header).
+ 0
+
+
+
+ lsphp81-pecl-redis
+ Extension for communicating with the Redis key-value store.
+ 0
+
+
+
+ lsphp81-pgsql
+ A PostgreSQL database extension for PHP.
+ 1
+
+
+
+ lsphp81-process
+ extensions for PHP script using system process interfaces.
+ 1
+
+
+
+ lsphp81-pspell
+ A extension for PHP applications for using pspell interfaces.
+ 1
+
+
+
+ lsphp81-recode
+ A extension for PHP applications for using the recode library.
+ 1
+
+
+
+ lsphp81-snmp
+ A extension for PHP applications that query SNMP-managed devices.
+ 1
+
+
+
+ lsphp81-soap
+ A extension for PHP applications that use the SOAP protocol.
+ 1
+
+
+
+ lsphp81-tidy
+ Standard PHP extension provides tidy library support.
+ 1
+
+
+
+ lsphp81-xml
+ A module for PHP applications which use XML.
+ 1
+
+
+
+ lsphp81-xmlrpc
+ A extension for PHP applications which use the XML-RPC protocol.
+ 1
+
+
+
+ lsphp81-zip
+ ZIP archive management extension for PHP
+ 0
+
+
+
+ lsphp81-mcrypt
+ Standard PHP extension provides mcrypt library support.
+ 1
+
+
+
+ lsphp81-dbg
+ php73-dbg lsphp81-package
+ 0
+
+
+
+ lsphp81-ioncube
+ ioncube loaders
+ 0
+
+
+
+ lsphp81-pecl-imagick
+ Extension to create and modify images using ImageMagick
+ 0
+
+
+
+ lsphp81-sodium
+ The php-sodium extension provides strong encryption capabilities in an easy and consistent way.
+ 0
+
+
+
diff --git a/managePHP/ubuntuphp81.xml b/managePHP/ubuntuphp81.xml
new file mode 100644
index 000000000..892ccd8c1
--- /dev/null
+++ b/managePHP/ubuntuphp81.xml
@@ -0,0 +1,131 @@
+
+
+ php81
+
+
+ lsphp81-common
+ Most of what you need.
+ 1
+
+
+
+ lsphp81-curl
+ Curl (common web tools) required for PHP
+ 1
+
+
+
+ lsphp81-dbg
+ Debugging extension
+ 0
+
+
+
+ lsphp81-dev
+ Development features almost always required.
+ 1
+
+
+
+ lsphp81-imap
+ Email extensions for PHP.
+ 1
+
+
+
+ lsphp81-intl
+ Extensions for countries other than the U.S.
+ 1
+
+
+
+ lsphp81-json
+ PHP extensions for JavaScript Object Notation.
+ 1
+
+
+
+ lsphp81-ldap
+ PHP extensions for LDAP (directory access protocol)
+ 1
+
+
+
+ lsphp81-modules-source
+ PHP source modules for virtually everything. Very large.
+ 0
+
+
+
+ lsphp81-mysql
+ PHP extension for MySQL or MariaDB databases.
+ 1
+
+
+
+ lsphp81-opcache
+ PHP low-level caching of code. Very important for performance.
+ 1
+
+
+
+ lsphp81-pgsql
+ A PostgreSQL database extension for PHP.
+ 0
+
+
+
+ lsphp81-pspell
+ PHP spell checking extensions.
+ 0
+
+
+
+ lsphp81-recode
+ PHP extension to transform data between different character sets.
+ 1
+
+
+
+ lsphp81-snmp
+ PHP network management extensions.
+ 0
+
+
+
+ lsphp81-sqlite3
+ An extension for PHP applications that use the SQLite v3 features.
+ 1
+
+
+
+ lsphp81-sybase
+ An extension for PHP applications that use Sybase databases.
+ 0
+
+
+
+ lsphp81-tidy
+ PHP extensions for manipulating HTML, XHTML and XML documents.
+ 1
+
+
+
+ lsphp81-ioncube
+ ioncube loaders
+ 0
+
+
+
+ lsphp81-imagick
+ Extension to create and modify images using ImageMagick
+ 0
+
+
+
+ lsphp81-sodium
+ The php-sodium extension provides strong encryption capabilities in an easy and consistent way.
+ 0
+
+
+
diff --git a/managePHP/views.py b/managePHP/views.py
index 30186b9d0..aa4711d2a 100755
--- a/managePHP/views.py
+++ b/managePHP/views.py
@@ -1237,7 +1237,36 @@ def installExtensions(request):
phpExtension.save()
except:
pass
+
+ try:
+ newPHP81 = PHP(phpVers="php81")
+ newPHP81.save()
+ php81Path = ''
+
+ if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
+ php81Path = os.path.join('/usr', 'local', 'CyberCP', 'managePHP', 'php81.xml')
+ else:
+ php81Path = os.path.join('/usr', 'local', 'CyberCP', 'managePHP', 'ubuntuphp81.xml')
+
+ php81 = ElementTree.parse(php81Path)
+
+ php81Extensions = php81.findall('extension')
+
+ for extension in php81Extensions:
+ extensionName = extension.find('extensionName').text
+ extensionDescription = extension.find('extensionDescription').text
+ status = int(extension.find('status').text)
+
+ phpExtension = installedPackages(phpVers=newPHP81,
+ extensionName=extensionName,
+ description=extensionDescription,
+ status=status)
+
+ phpExtension.save()
+ except:
+ pass
+
proc = httpProc(request, 'managePHP/installExtensions.html',
{'phps': PHPManager.findPHPVersions()}, 'admin')
return proc.render()