WAMP Setup Zend Optimizer IonCube Loader
January 10, 2010 by: adminFrom pilot to production, Zend helps you increase the maturity of your PHP application life cycle through a combination of vastly popular open source projects, enterprise-grade products and comprehensive service and support. The Zend Optimizer is a free runtime application that enables PHP to run the files encoded by the Zend Guard or Ioncube. IonCube is the tools to protect software written using the PHP programming language from being viewed, changed, and run on unlicensed computers. The tools use the technique of compiling to bytecode prior to encoding so that source code is eliminated, and runtime overheads are reduced. A free PHP extension called the IonCube Loader handles the reading and execution of encoded files at runtime.
In this instruction guide for WAMP, we will show you how to install and setup Zend Optimizer and Ioncube Loader for WAMPSERVER in Windows 7. Fortunately, the procedure to install these two is about the same in Windows Server 2008, Vista and XP, so you can use this guide to setup Zend Optimizer and Ioncube Loader in any listed Operating Systems. Note: To make it simple for users, we have this tutor guide based on our custom Zend Optimizer and IonCube Loader; thus, this guide might not work for you if you get Zend Optimizer in Zend website and IonCube Loader in Ioncube website; therefore, head to our Download to get Zend Optimizer and IonCube Loader there
Step 1
After getting Zend Optimizer and IonCube Loader from our Download page, extract the content on your Desktop

Step 2
Open the folder you just donwloaded

Step 3
To copy the folder zend and ioncube

Step 4
Open folder C:/wamp/apps

Step 5
To paste the folder zend and ioncube

Step 6
Use your desire text editor to open file php.ini in folder C:/wamp/bin/apache/Apache2.2.11/bin

Step 7
In file php.ini, search for the code as shown below (zi7.jpg) ; Local Variables:
; tab-width: 4
; End:

Step 8
Right before the code shown above, add these code below (zi8.jpg) [Zend]
zend_extension_manager.optimizer_ts=”C:\wamp\apps\zend\Optimizer-3.3.0″
zend_extension_ts=”C:\wamp\apps\zend\ZendExtensionManager.dll”

Step 9
Still in file php.ini, search for the code as shown below (zi9.jpg)
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = Off

Step 10
And right after the code shown above, add the line of code as shown below (zi10.jpg) zend_extension_ts=”C:\wamp\apps\ioncube\ioncube_loader_win_5.2.dll”

Step 11
It’s time to close the file and save when prompted

Step 12
Of course, next is restart WAMP, then left click on WAMP tray icon to open Main Menu

Step 13
Left click on localhost, then again left click on phpinfo() and check to make sure you see 2 important parts as shown in this imgage

Step 14
For thoroughly, , you can also download this script to check the installation and download this script to test the decoder after following this tutor guide

Step 15
Which should show up in Your Projects when you browse to localhost

Step 16
Left click on ZendIoncubeChecker and make sure to see all Pass as shown in this imgage

Step 17
However, track back your steps to see if you make a “little” mistake somewhere that makes you see Fail in Zend Optimizer as shown in this image

Step 18
Similarly, track back your steps to see if you make a “little” mistake somewhere that makes you see Fail in IonCube Loader as shown in this image

Step 19
Even though you see all Pass, make sure to browse to ZendIoncubeTester to see all 3 lines have the same contents. If seeing less than 3 lines or error pops up, you might need to follow this tutor guide from the beginning
Congratulation
You just finish setting up Zend Optimizer and IonCuber Loader.




