Directadmin里PHP5.3启用ZendGuardLoader
    文章作者:恒爱网络 阅读次数:6405 发布时间:2014-12-3

    首先登陆到 SSH ,然后执行:

     cd /usr/local/directadmin/custombuild

     ./build set zend yes

     

     ./build zend

     

     之后再编辑下php.ini文件,vi /usr/local/lib/php.ini

    到php.ini 最尾部,看看是不是

     zend_extension=/usr/local/lib/ZendGuardLoader.so

    如果存在,将其删除,然后替换成下面的:

     [Zend Guard Loader]
     zend_extension=/usr/local/lib/ZendGuardLoader.so
     zend_loader.enable=1
     zend_loader.disable_licensing=0
     zend_loader.obfuscation_level_support=3
     zend_loader.license_path=EOF

     

    保存然后重启一下Apache

     service httpd restart