Home >Backend Development >PHP Tutorial >zendsafeguard encryption php_PHP tutorial
I made a small project using PHP. Since PHP is an interpreted language, the code cannot be protected, so it needs to be encrypted. A great tool is zend safeguard from zend. The download address is: http://download.csdn.net/detail/wangshaner1/7031541
After downloading, the next steps are as follows:
1. Install ZendSafeGuard-Evaluation-3.6.0-Windows-i386.exe
2. Copy the ZendOptimizer-3.3.3 folder directly to the ext folder of php
3. Modify php.ini
Add:
[Zend]
zend_extension_ts = "D:softBoxAppServphp5extZendOptimizer-3.3.3ZendExtensionManager.dll";Modify according to the actual path
zend_extension_manager.optimizer_ts="D:softBoxZendOptimizer-3.3.0libOptimizer-3.3.0";Modify according to the actual path
See the picture below for specific usage:
1. file->new project->enter the project name->ok
2. Adjust the parameters. The meaning of each parameter is as follows (I am just trying to figure it out, not necessarily correct):
(1) short tags: whether to support ?>
(2) copy non-php files: whether to copy non-php files 喎?http://www.Bkjia.com/kf/ware/vc/" target="_blank" class="keylink">vcD4KPHA+o6gzo6lhc3AgdGFnc6O6yse38dans9ZBU1C808PcPC9wPgo8cD6jqDSjqWRpc2FibGVkIHBocC1jb21wYXRpYmxlIGhlYWRlcqO6yse38dT aw7/Su7j2cGhwzsS8/seww+a808nPemVuZMu1w/ejrMj0srvE3L3izvajrNTyz9TKvsu1w/ehozwvcD4KPHA+o6g1o6l3b3JrIG9ubHkgd2l0aCBvdGhlciBlbmNvZGVkIGZpbGVkc6O6zf jJz8u1o7q808PczsS8/rjEtq/Wrrrzyse38cTcubu8zND4yrnTw6Gjsb7Iy9Hp1qTBy9K7z8KjrLeiz9ayu7ncyse38dGh1PHBy7TLz+6jrLjEtq/Wrrrzvvmyu8TcvMzQ+Mq508PBy6Gj PC9wPgo8cD6jqDajqWFwcGVuZCBoZWFkZXIgaW5mb3JtYXRpb26jus601qqjrLG+yMvOtNGhPC9wPgo8cD6jqDejqXVzZSBQSFAgNSBFbmNvZGVyo7rKx7fxyrnTw3BocDW1xLzTw9w8L3A +CjxwPqOoOKOpT3B0aW1pemF0aW9uc6O608W7r7PMtsg8L3A+ CjxwPqOoOaOpSWdub3JlIFBhdHRlcm5zo7q69sLUtcTSu9CpwdCx7TwvcD4KPHA+o6gxMKOpdGFyZ2V0IGRpcmVjdG9yeaO6vNPD3LrztcTOxLz+tcTK5LP2zsS8/rzQoaM8L3A+CjxwPqO oMTGjqUV4cGlyYXRpb24gT3B0aW9uc6O6uf3G2sqxvOQ8L3A+CjxwPqOoMTKjqUxpY2Vuc2luZyBTdXBwb3J0o7psaWNlbnNlzsS8/rXE1qez1rPMtsiho7TLz+6xvsjLxarBy9K7yc/O5 6OsvvnOtLrcusPFqrauo6zI1Lvhsai07aGjzrTN6rT90PihozwvcD4KPHA+PGltZyBzcmM9"http://www.2cto.com/uploadfile/Collfiles/20140313/2014031308461997.jpg" alt="">