Loader FAQ's

Home / FAQs / Loader FAQ's

Loader FAQ's

1. What license do I need to use the loader?
There is no need to purchase any additional licenses to distribute your encoded scripts. All your encoded PHP files can be distributed for no additional cost.

2. Can I bundle your loaders with my application?
Yes, we are happy for you to bundle the loaders with your application or to link through to our loaders page which is updated with new loaders as they are developed.

3. We have no access to php.ini. What would you suggest?
Many hosting companies allow you to have your own php.ini configuration file, but usually it is off by default and you probably need to contact them about enabling this option for you. Most organisations and hosting companies are willing to install our loader. PHP installations older than version 5.2.5 allow SourceGuardian encoded applications to be run without any modification of PHP. If dl() is enabled as part of the installation (which it is by default) then your encoded scripts will run. 

4. Can other optimizers be installed alongside SourceGuardian?
Yes, you can install other optimizers or loaders alongside SourceGuardian. Please read the documentation relating to this.

5. Is it possible to run protected scripts without installing a loader?
SourceGuardian uses bytecode encoding and requires a binary loader installed in order to run protected files. As you probably know, since version 5.2.5 of PHP any dynamic extensions must be installed and can be loaded only from PHP's extension_dir that is defined in php.ini. Usually, if you have access to extension_dir, editing php.ini is not a problem. If you have no access to extension_dir and php.ini to install a loader yourself, most organisations and hosting companies are willing to install our loaders.
Please note, that all the other *bytecode* PHP encoders that are available, require installing a binary loader as well.  

To make life easier we created an online loader assistant and suggest that you or your customers freely use it to know the loader you need and how to install it to any particular system. Please find our Loader Assistant here http://sourceguardian.com/loaders/download.php

6. I use version 7 of SourceGuardian. After upgrading PHP to version 5.3 my encrypted files do not work anymore
Encoding for PHP 5.3 is supported in version 8 of SourceGuardian and newer. If you are using version 7 or older than you may upgrade your copy of SourceGuardian in the user profile.   It's also important to install the latest loader for PHP 5.3. Please find loaders in the version 8 installation package. You may also use our loader assistant to know the loader you need and how to install it http://sourceguardian.com/loaders/download.php

7. Why do I see my PHP code source when run the encoded version?
Your code probably use short PHP tags <? ?>. Enable short PHP tags support in Advanced settings in your SourceGuardian project or use --short-tags option if you prefer to run the encoder from the command line. Re-encode your files.

8. SourceGuardian 11 - Protected script's header is broken
If you are using version 11 of SourceGaurdian and getting the error 'SourceGuardian Loader - Protected script's header is broken. Probably the encoded file was modified. Please install an original unmodified file or contact the author of the script to get the original file. Error code [10]', UPDATE THE LOADER. 
Please download and install the recent loader from https://www.sourceguardian.com/loaders/ or use the loader assistant https://www.sourceguardian.com/loaders/download.php

php encoder Buy Now


Take a Tour!

Check out the features and benefits of SourceGuardian
Find out more
Try our free php source code demo
Account Login:

login Forgotten Password?
Connect with us
facebook linkedin twitter rss
© Copyright 2002 - 2024 SourceGuardian Limited
Privacy Policy l Terms & Conditions l Company Info l Contact us l Sitemap l PHP Weekly News