How to compile the PHP source code introduction ZendEncode installation method I just debugged today, do not dare to exclusive, take xianbao_php tutorial

Source: Internet
Author: User
Tags download zend
How to compile the PHP source code introduction ZendEncode installation method I just debugged today, do not dare to exclusive, take Xianbao. How to compile PHP source code (introduce ZendEncode installation method) Author: nature mail: zhanmr@telekbird.com.cn home page: zhanzhen.wayall.com has been a friend asking PHP how to ensure how to compile PHP source code (introduce Zend Encode installation method) author: nature mail: zhanmr@telekbird.com.cn home page: http://zhanzhen.wayall.com Some friends have been asking PHP how to protect the source code, just like SCRENC in ASP (although SCRENC has long been capable of cracking ). Thank God, Zend, which has been committed to PHP Development, has brought us the latest Zend Encoder tool to compile PHP source code. For more information about Zend Encoder, see: http://www.chinaasp.com/sqlbbs/showAnnounce.asp?id=588883 Because the Zend Encoder official version requires $2400. So we can only use the restricted version, which seems to be a feature, but it only works for a month. now I will bring you together to see if it is really so nice .. :) The installation steps are extremely complex .. I will show you step by step. please keep up with me .. :) My System environment: WINNT4 + APACHE1.3.17 + PHP4.0.4pl1 (APACHE mode) I. register a user at www.zend.com. https://www.zend.com/add_user.php 2. after you get the login name and password in your registration mailbox, go https://www.zend.com/login.php Log in. if it succeeds, it will automatically jump back to the Zend homepage. click Store in the navigation bar on the upper right of the homepage, click Enterprise Products, and then click Zend Encoder Unlimited, then, click Price: $2400 on the right and there is a link to Test drive available. Then, click Test drive available at the bottom of the right. at this time, we will see products related to Zend, select GetIt (play button) on the right of Zend Encoder Unlimited Test Drive. 3. have you finally seen the Download button ?? Happy? This is only the beginning. :(. If you see three steps, do not download them immediately. because you do not have the Zend License Agreement, you cannot use it after the download. First, click Step 2: Request Product License. at this time, Zend requires us to provide a host ID, which indicates the unique identifier of your computer, you can click the link of How do I find my host ID on the right to download a software for viewing identifiers. if you are a WINDOWS user, run the following command to obtain the internal network card number ipconfig/all. then, you will get the following string of characters: Physical Address ......: 00-80-C8-DB-FC-39 remove the-number and get your HOSTID number 0080C8DBFC39. then copy the character to the input box of Enter host ID: and click the Request link, then the system will send the license agreement for your machine to your mailbox. It may take 24 hours to receive the message. 4. wait .. Finally, I saw a letter titled Zend licenses created in the mailbox. I opened it and asked you to go. http://www.zend.com/store/pickup.php Obtain the license agreement in this place. at this time, the COOKIE of the Zend website already exists on your machine. Therefore, select Step 3: Download Product License. a Download License written in bold is displayed on the edge. click to Download the License agreement named zend_encoder.dat, and then select Step 1: download the Zend Encoder Unlimited Test Drive v. 1.1.0: Select the version you need. I use Windows NT/2 K (for PHP 4.0.3/4.0.4) and a long Zend Encoder? Test Drive License Agreement (License Agreement), press the "I ACCEPT" button to start downloading the Zend Encoder Unlimited program .. 5. the download is complete. The remaining part is the configuration process. Export to the c: program filesend Encoder Unlimited directory, copy the zend_encoder.dat file to the c: program filesend directory, and run the c: program filesend Encoder program to compile the php source file, the format is as follows: after the source file name of zendenc is compiled, the file name (there are many parameters for your help). 6. do you think this is all done ?? NO. now, running the compiled file in the browser will only cause garbled characters. You also need http://www.zend.com/store/free_download.php?pid=13 Download Zend Optimizer here? V. 1.0.0. Please check the version download. I downloaded FOR win, and then decompress zendoptimizer-11_12.16.0.0-php_4.0.4-windows-i386.zip to the C: Program Filesend Optimizer directory. 7. modify php. ini file, add two lines zend_optimizer.optimization_level = 15 zend_extension_ts = "c: program fileszend optimizerzendoptimizer. dll "8. restart your web server and use the PHPINFO output to check the following section: This program makes use of the Zend scripting language engine: Zend Engine v1.0.4, Copyright (c) 1998-2000 Zend Technologies with Zend Optimizer v1.0.0, Copyright (c) 1998-2000, by Zend Technologies remember that there is a last line with Zend Optimizer v1.0.0, Co Pyright (c) 1998-2000, only by Zend Technologies indicates that your Zend Optimizer has been successfully installed 9. let's test the power of Zend Encoder! Write a phpinfo. php file for testing: Then use zendenc phpinfo. php phpinfoencode. php to get a compiled phpinfoencode. php file. open it and check that the code in it has become like this: Zend 2000112001 1 139 265 x ?? 2 ??~ Why? Zookeeper z ?) E branch? RMB 5 RMB cannot exceed RMB r lower than RMB 1 )? A when P then has li 'if yes? A LF? N? L & r ready? 4? 21a? 6 bytes 446 bytes % 5B? Why? Pipeline executes the phpinfoencode. php file in the browser and finds that the Generated by a trial version of the Zend Encoder (TM) line is added at the top. OK, you have succeeded .. Want to see my output? Http://zhanzhen.wayall.com/zendencode.htm also want to Test Zend Cache Test Drive, actually found no for win .. Vomit blood on the spot .. :( Hope someone else will introduce the installation instructions of Zend Cache Test Drive. If there is a problem in the installation process, point it in the http://zhanzhen.wayall.com, I will try to answer :)

Author: nature mail: zhanmr@telekbird.com.cn home page: http://zhanzhen.wayall.com has been a friend asking PHP how to protect...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.