Free PHP Encoders, Accelerators and Obfuscators

Protect your intellectual property


Free PHP Encoders, Accelerators and Obfuscators

If you write PHP scripts for clients, or perhaps sell PHP scripts, you may want to encode your PHP code or even just somehow obfuscate it so that others who have a copy of your script cannot modify them or copy your code or otherwise adapt it for use on machines that are not licensed to do so. Or perhaps you want to distribute a demo script that times out after a period of time. It is for such purposes that the PHP encoders and obfuscators listed here are useful.

PHP encoders precompile your PHP source code into a binary code for execution with the help of an intermediate code interpreter. They are sometimes also called PHP accelerators, since they speed up the execution of your script by precompiling and caching it. PHP obfuscators, on the other hand, merely take your source code and change the names of your variables, constants and user-defined functions to obscure strings of characters. With obfuscators, your code remains in source code form and are actually fairly easily deciphered.

Although not listed in the main section below, if you really need a PHP encoder and accelerator, I suggest that you get a commercial one which are vastly more effective, and have additional features like the ability for you to license your code to run only on certain domains, have an expiry date (very useful for demos for clients to try out before they pay for your software), etc. The two main commercial encoders around (in the sense that they are the ones that the majority of encoded commercial PHP programs use) are the IonCube PHP Encoder and Zend Guard.

Unlike some of the free programs, these encoders pre-compiles your PHP source code into binary code which can be executed on your client's machines with the help of additional programs called "loaders". IonCube also has an option where the binary code is further encrypted, making it even harder than ever to reverse engineer the code. Other features include the ability to create PHP scripts that will not be accidentally mangled by your users when they upload it using their FTP program. This is a problem with binary files that are given a PHP extension since almost all FTP programs assume that PHP files are text files, and so will automatically modify the text files when they upload it (to change the line endings).

(Note that if you're getting Zend Guard, you may want to try the coupon code CJ75OFF to see if it can get you a discount.)

Related Pages

Disclaimer

The information provided on this page comes without any warranty whatsoever. Use it at your own risk. Just because a program, book, document or service is listed here or has a good review does not mean that I endorse or approve of the program or of any of its contents. All the other standard disclaimers also apply.

Free PHP Encoders, Accelerators and Obfuscators

Turck MMCache and TurckLoader (Windows, Linux)

This is an open source PHP accelerator, optimizer, encoder and dynamic content cache. It precompiles your script to binary form, and with the help of its loader, executes the binary version at runtime. The software has been tested under PHP 4.1 to 4.3.x, and requires an Apache web server with the Zend Optimizer preinstalled. You also have to either modify your server's php.ini to install the Turck MMCache software or use its standalone loader, TurckLoader. This program was last updated in 2003, and does not appear to be maintained any more.

PHP Obfuscator and Encoder (Windows)

This open source PHP obfuscator and encoder obfuscates things like function names and variables so as to make your PHP source code harder to read and decipher. You can mark portions of your code where you don't want the obfuscator to modify. All of your PHP code remains in source code form, but with long strings of meaningless characters for user-defined function names and variables. The program works only on Windows XP and higher, and may be used to produce free and commercial programs. (Note though that your program can still be read fairly easily, since it is not actually changed into binary form the way commercial encoders like IonCube PHP Encoder do.)

POBS PHP Obfuscator (installed on server)

This PHP obfuscator changes the names of user-defined functions, variables and constants with cryptic 8 character names (obtained from MD5 keys). In addition, it can also concatenate lines, remove comments and indentation to make it look messier (although of course this change is easily reversible using an appropriate source code beautifier). This program is no longer being maintained. Cauton: as with the other obfuscators listed on this page, your program can still be fairly easily read and understood, since it's not actually changed into binary form the way commercial encoders like IonCube PHP Encoder do.

Related Pages

Can't Find What You're Looking For?

Google
 

Newest Pages

Popular Pages

How to Link to This Page

It will appear on your page as:

Free PHP Encoders, Accelerators and Obfuscators

 

thefreecountry.com Free Programmers, Webmasters and Security Resource Site

 


 

thesitewizard.com: Free Webmaster Tutorials, Scripts and Articles

HowtoHaven.com: Free How-To Guides

thefreecountry.com: Free Programmers, Webmasters and Security Resources
If you find this site useful, please link to us.