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 one of the commercial ones
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 famous ones used by many commercial programs are
Zend Guard
and the IonCube PHP Encoder.
Unlike some of the free programs, these commercial encoders and accelerators pre-compile 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. Of the two programs, Zend tends to have its loader (which they call the Zend Optimizer) pre-installed on more web hosts, but IonCube has a better licensing agreement (and it's much cheaper). With Zend, your licence to use the software is only for 1 year. After that year, you can no longer use your software to encode new scripts. IonCube has a more traditional licence where once you pay for the software, you can use it forever (and you get upgrades free for 1 year). IonCube also has 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). Another advantage of IonCube is that if you have a web host that does not preinstall its loader, you can make your scripts automatically execute the loaders when they are called.
Related Pages
- Free 3D Software Box Image Makers - create a 3D image of a software box for your program
- Free Text Search and Replace Utilities
- Free Programmer's Editors and IDEs
- How to Register Your Own Domain Name
- The Fine Print in Web Hosting: Resource Usage Limits
- The Real Meaning of "Unlimited" in Web Hosting
- Budget Web Hosting
- Virtual Private Servers (VPS) Web Hosting
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 Zend Guard and 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 Zend Guard and IonCube PHP Encoder do.
Related Pages
- How to Accept Credit Cards on Your Website
- PHP Tutorial: Writing Your First PHP Script
- How to Use PHP Sessions to Store Data
- How to Create an Image in PHP
- How to Prevent Email Injection in Your PHP Form-to-Mail Scripts
- How Much Does It Cost to Set Up a Website?
- The Beginner's A-Z Guide to Starting/Creating Your Own Website
- Which Web Host Do You Recommend? (FAQ)
Can't Find What You're Looking For?
Newest Pages
- How to Add a Navigation Menu Bar to Your Website in Dreamweaver CS4 (Dreamweaver CS4 Tutorial Chapter 6)
- How to Make Pictures and Text into Clickable Links using Dreamweaver CS4 (Dreamweaver CS4 Tutorial 5)
- Free Standard ML Compilers
- How to Change the Background of Your Website in Dreamweaver CS4 (Dreamweaver CS4 Tutorial 4)
- Free Desktop Publishing Software
- Why Access Keys Are Mostly Useless for Accessibility Purposes
- How to Install Apache 2.2 on Windows Vista
- Free Online Touch Typing Speed Tests
- What is HTML, CSS, JavaScript, PHP and Perl? Do I Need to Learn Them to Create a Website?
- How Much Does It Cost to Set Up a Website?
- How to Slipstream Windows XP Service Pack 3 to Create an Integrated XP Setup Disk with SP 3
Popular Pages
- How to Create/Start Your Own Website: The Beginner's A-Z Guide
- How to Register Your Own Domain Name - how to get your own domain name
- How to Create a Website with Dreamweaver CS4 (Dreamweaver Tutorial)
- Dreamweaver Tutorial: How to Create a Website with Dreamweaver CS3
- How to Create a Bootable Windows XP Setup CD/DVD on a Preinstalled Windows System
- Free Partitioning Software - Copy, Create, Move, Resize, Convert, Undelete Partitions
- Free Data Recovery, File and Partition Recovery, Undelete and Unformat Software
- How to Create an Emergency Windows Rescue CD
- Free DVD Authoring and Creation Software
- Free CD and DVD Burners and Copying Software
- Free Hard Disk Backup and Restore, Hard Disk Image and Cloning Utilities
How to Link to This Page
It will appear on your page as:
Free PHP Encoders, Accelerators and Obfuscators
