What are PHP Loaders and what is their role?
As you may know, PHP files are plain text files that are not encrypted in any way, which basically means that if someone gains access to a PHP-based application or website, all the inner code structure will be available for modification. To prevent this, encoders were specifically designed to transform the human-readable code into unreadable sophisticated bytecode protected from unwanted interference and changes.
At the same time, PHP Loaders were designed to perform decryption of such secured files directly on the server, performing additional optimization during the deployment process. In simple words, PHP Loader is a PHP extension responsible for reading and executing PHP files encoded with a corresponding encoding product. A simplified presentation of the working principle of such products can be found below:
Currently, we provide three most popular PHP Loaders to decrypt protected applications on our shared servers: IonCube Loader, Zend Guard Loader and Source Guardian.
NOTE: Depending on the encoder used to encrypt the files, a corresponding PHP Loader should be chosen in order to run applications smoothly on our servers and prevent any incompatibility issues during the deployment process.
How can I enable PHP loaders:
If you have a Regular Shared Hosting account with us, follow the steps below:
1. Log into the cPanel.
2. Go to the Exclusive for Namecheap Customers section >> the Select PHP Version menu:
3. Enable the required loaders - the changes will be saved automatically:
If you have a Business Shared Hosting account, you will need to do the following:
1. Log into the cPanel.
2. Click on the PHP Tweaks menu in the Exclusive for Namecheap Customers section:
3. Choose the domain to perform changes for in the Select domain drop-down menu and enable the required PHP Loader in Loaders:
That's it!
Need any help? Contact our Helpdesk