We are adding the PHP Mask Extension to PHP 8.3 in this example.
Extract PHP Mask extension files:
cd /
tar -xzvf phpmask_v1.0_loaders.tgz
Move the PHP Mask Loader into the EasyApache 4 PHP 8.3 modules directory:
mv phpmask/phpmask_loader_8.3.so /opt/cpanel/ea-php83/root/usr/lib64/php/modules/phpmask_loader.so
Enable PHP Mask Loader by creating a configuration file:
echo "extension=phpmask_loader.so" > "/opt/cpanel/ea-php83/root/etc/php.d/00-phpmask.ini"
Restart cPanel PHP-FPM Service:
/scripts/restartsrv_apache_php_fpm
To remove PHP Mask Loader for PHP Version 8.3 from EasyApache 4 in cPanel, you can use the following code:
rm -f /opt/cpanel/ea-php83/root/etc/php.d/00-phpmask.ini
rm -f /opt/cpanel/ea-php83/root/usr/lib64/php/modules/phpmask_loader.so
/scripts/restartsrv_apache_php_fpm
We are adding the PHP Mask Extension to PHP 8.3 in this example.
Extract PHP Mask extension files:
cd /
tar -xzvf phpmask_v1.0_loaders.tgz
Move the PHP Mask Loader into the CloudLinux PHP Selector PHP 8.3 modules directory:
mv phpmask/phpmask_loader_8.3.so /opt/alt/php83/usr/lib64/php/modules/phpmask_loader.so
Enable PHP Mask Loader by creating a configuration file:
echo "extension=phpmask_loader.so" > "/opt/alt/php83/etc/php.d.all/phpmask.ini"
Restart cPanel PHP-FPM Service:
/scripts/restartsrv_apache_php_fpm
To remove PHP Mask Loader for PHP Version 8.3 from CloudLinux PHP Selector in cPanel, you can use the following code:
rm -f /opt/alt/php83/etc/php.d.all/phpmask.ini
rm -f /opt/alt/php83/usr/lib64/php/modules/phpmask_loader.so
/scripts/restartsrv_apache_php_fpm
We are adding the PHP Mask Extension to PHP 8.3 in this example.
Extract PHP Mask extension files:
cd /
tar -xzvf phpmask_v1.0_loaders.tgz
Move the PHP Mask Loader into the CyberPanel PHP 8.3 modules directory:
mv phpmask/phpmask_loader_8.3.so /usr/local/lsws/lsphp83/lib64/php/modules/phpmask_loader.so
Enable PHP Mask Loader by creating a configuration file:
echo "extension=phpmask_loader.so" > "/usr/local/lsws/lsphp83/etc/php.d/00-phpmask.ini"
Restart Services:
systemctl restart lscpd
systemctl restart lsws
To remove PHP Mask Loader for PHP Version 8.3 from CyberPanel, you can use the following code:
rm -f /usr/local/lsws/lsphp83/etc/php.d/00-phpmask.ini
rm -f /usr/local/lsws/lsphp83/lib64/php/modules/phpmask_loader.so
We are adding the PHP Mask Extension to PHP 8.3 in this example.
Extract PHP Mask extension files:
cd /
tar -xzvf phpmask_v1.0_loaders.tgz
Move the PHP Mask Loader into the Plesk PHP 8.3 modules directory:
mv phpmask/phpmask_loader_8.3.so /opt/plesk/php/8.3/lib/php/modules/phpmask_loader.so
Enable PHP Mask Loader by creating a configuration file:
echo "extension=phpmask_loader.so" > "/opt/plesk/php/8.3/etc/php.d/00-phpmask.ini"
Restart Services:
service plesk-php83-fpm restart
plesk bin php_handler --reread
To remove PHP Mask Loader for PHP Version 8.3 from Plesk, you can use the following code:
rm -f /opt/plesk/php/8.3/etc/php.d/00-phpmask.ini
rm -f /opt/plesk/php/8.3/lib/php/modules/phpmask_loader.so
We are adding the PHP Mask Extension to PHP 8.3 in this example.
Extract PHP Mask extension files:
cd /
tar -xzvf phpmask_v1.0_loaders.tgz
Move the PHP Mask Loader into the aaPanel PHP 8.3 modules directory:
mv phpmask/phpmask_loader_8.3.so /www/server/php/83/lib/php/extensions/no-debug-non-zts-20230831/phpmask_loader.so
Enable PHP Mask Loader by adding to configuration file:
extension=phpmask_loader.so
Restart PHP Service.
To remove PHP Mask Loader for PHP Version 8.3 from aaPanel, you can use the following code:
rm -f /www/server/php/83/lib/php/extensions/no-debug-non-zts-20230831/phpmask_loader.so
If path is different, you can find the path with searching other extensions.
We are adding the PHP Mask Extension to PHP 8.3 in this example.
Extract PHP Mask extension files:
cd /
tar -xzvf phpmask_v1.0_loaders.tgz
Move the PHP Mask Loader into the Server PHP 8.3 modules directory:
mv phpmask/phpmask_loader_8.3.so /usr/lib/php/20230831/phpmask_loader.so
Enable PHP Mask Loader by creating a configuration file:
echo "extension=/usr/lib/php/20230831/phpmask_loader.so" > "/etc/php/8.3/mods-available/phpmask.ini"
Restart PHP-FPM Service:
systemctl restart php8.3-fpm
To remove PHP Mask Loader for PHP Version 8.3 from Server, you can use the following code:
rm -f /etc/php/8.3/mods-available/phpmask.ini
rm -f /usr/lib/php/20230831/phpmask_loader.so
If path is different, you can find the path with searching other extensions.
Thank you for become a part of us. If you have any query, suggestion and complain. Contact us anytime.