Documentation

We have made well documentions for easy to use

Using PHP Mask with EasyApache 4 in cPanel
EasyApache 4 in cPanel

We are adding the PHP Mask Extension to PHP 8.3 in this example.

  1. Extract PHP Mask extension files:

    cd /

    tar -xzvf phpmask_v1.0_loaders.tgz

  2. 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

  3. 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"

  4. 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

Using PHP Mask with CloudLinux PHP Selector in cPanel
CloudLinux PHP Selector in cPanel

We are adding the PHP Mask Extension to PHP 8.3 in this example.

  1. Extract PHP Mask extension files:

    cd /

    tar -xzvf phpmask_v1.0_loaders.tgz

  2. 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

  3. Enable PHP Mask Loader by creating a configuration file:

    echo "extension=phpmask_loader.so" > "/opt/alt/php83/etc/php.d.all/phpmask.ini"

  4. 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

Using PHP Mask with CyberPanel
CyberPanel

We are adding the PHP Mask Extension to PHP 8.3 in this example.

  1. Extract PHP Mask extension files:

    cd /

    tar -xzvf phpmask_v1.0_loaders.tgz

  2. 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

  3. Enable PHP Mask Loader by creating a configuration file:

    echo "extension=phpmask_loader.so" > "/usr/local/lsws/lsphp83/etc/php.d/00-phpmask.ini"

  4. 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

Using PHP Mask with Plesk
Plesk

We are adding the PHP Mask Extension to PHP 8.3 in this example.

  1. Extract PHP Mask extension files:

    cd /

    tar -xzvf phpmask_v1.0_loaders.tgz

  2. 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

  3. 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"

  4. 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

Using PHP Mask with aaPanel
aaPanel

We are adding the PHP Mask Extension to PHP 8.3 in this example.

  1. Extract PHP Mask extension files:

    cd /

    tar -xzvf phpmask_v1.0_loaders.tgz

  2. 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

  3. Enable PHP Mask Loader by adding to configuration file:

    extension=phpmask_loader.so

  4. 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.

Using PHP Mask without Control Panel
No Panel

We are adding the PHP Mask Extension to PHP 8.3 in this example.

  1. Extract PHP Mask extension files:

    cd /

    tar -xzvf phpmask_v1.0_loaders.tgz

  2. 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

  3. 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"

  4. 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.

Support

Thank you for become a part of us. If you have any query, suggestion and complain. Contact us anytime.