问题:研究PHP的混淆加密,试了几个工具,最后还是决定采用Zend Guard,结果加密完成之后,在PHP环境跑的时候,报错: Zend Guard Run-time support missing! One more more files on this web site were encoded by ZendGuard and the required run-time support is not installed orproperly configured. For the Web site user This means that this Web server is not configured correctly to runthe files that it contains. Please contact the Web site'sadministrator/webmaster and inform them of this problem and give themthe URL you are trying to display to help them in diagnosing theproblem. For The Site Administrator/Web Master One or more files on your site were encoded with Zend Guard. Thismay be third party libraries that were provided to you by an ISV. Toallow these files to properly run you need to download and installone of the Zend guard run-time libraries. This is either ZendOptimizer or Zend Loader. The proper files can be downloaded fromhttp://www.zend.com/guard/downloads.This software is provided free of charge. General Disclaimer: Zend Technologies is not responsible tothe configuration and setup of web sites using Zend Guard technology.Please contact your software vendor if these components were providedby an ISV or consult your Zend Guard Users Guide if these files wereencoded by your organization. 解决办法: 需要下载zend扩展,下载地址:http://www.zend.com/en/products/loader/downloads,选择对应的PHP版本下载即可,记得选择源码运行环境的操作系统。 解决文件: 本人测试采用的是Windows环境,下载包:zend-loader-php5.6-windows-x86_update1.zip 解压后里面有三个文件: php_opcache.dll README.txt ZendLoader.dll 把ZendLoader.dll这个文件复制到PHP环境ext目录下 然后找到php.ini所对应的配置文件 在最后一行添加 zend_extension = ZendLoader.dll 保存,之后重启php 再去试一下就OK了,我的php版本是5.6 大致看了下Linux环境,部署方法差不多,可参考以上操作。
PHP技术交流QQ群:422137578 除非注明,文章均为 PHP二次开发 原创,转载请注明本文地址:http://www.php2.cc/article-2665-1.html |