WAMP Setup Zend Optimizer IonCube Loader

January 10, 2010 by: admin

From 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 ;-)

If interested, you can also download this script to check the installation and download this script to test the decoder before and after following this tutor guide ;-)

Step 1

After getting Zend Optimizer and IonCube Loader from our Download page, extract the content on your Desktop

zi1

Step 2

Open the folder you just donwloaded

zi2

Step 3

To copy the folder zend and ioncube

zi3

Step 4

Open folder C:/wamp/apps

zi4

Step 5

To paste the folder zend and ioncube

zi5

Step 6

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

zi6

Step 7

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

zi7

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”

zi8

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

zi9

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”

zi10

Step 11

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

zi11

Step 12

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

zi12

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

zi13

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 ;-)

Just extract them in www folder

zi14

Step 15

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

zi15

Step 16

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

zi16

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

zi17

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

zi18

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.

More Resources:

  1. Wamp Server Installation Guide
  2. Setup Virtual Box (VPN and LAN Access in Same State)
  3. Create Bootable Win XP SP1 CD(nero)
  4. WinXP Bootable CD
  5. How to Setup FTP Servers

Leave a Reply

You must be logged in to post a comment.