zoukankan      html  css  js  c++  java
  • CentOS 6安装php加速软件Zend Guard(转)

    (尚未验证)

    PHP5.3以上的版本不再支持Zend Optimizer,已经被全新的 Zend Guard Loader 取代,下面是安装Zend Guard具体步骤,以下操作均在终端命令行执行

    1、下载Zend Guardcd /home

    1.  wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz    #32位 
    2.  wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz  #64位  

    2、安装Zend Guard

    1.  mkdir /usr/zend       #建立Zend Guard安装目录 
    2.  tar xvfz ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz    #解压安装文件 
    3.  cp ZendGuardLoader-php-5.3-linux-glibc23-i386/php-5.3.x/ZendGuardLoader.so     /usr/zend/   #拷贝文件到安装目录 
    4.  rm -rf /home/ZendGuardLoader-php-5.3-linux-glibc23-i386*   #删除安装包  

    3、配置Zend Guard

           cp  /etc/php.ini    /etc/php.inibak   #修改之前先备份

           vi /etc/php.ini    #编辑文件

           在最后位置添加以下内容

    1.  [Zend Guard] 
    2.  zend_extension=/usr/zend/ZendGuardLoader.so 
    3.  zend_loader.enable=1 
    4.  zend_loader.disable_licensing=0 
    5.  zend_loader.obfuscation_level_support=3 
    6.  zend_loader.license_path=  

    4、重启web服务器

           /etc/init.d/httpd restart

    至此,Zend Guard安装完成。

  • 相关阅读:
    修改电脑安装路径
    快读模板
    ECNU XCPC 2021 OCTOBER TRAINING #1
    System.AccessViolationException处理,HandleProcessCorruptedStateExceptions
    网页打包到apk
    去除服务器的heder信息
    outlook
    华为机试题:计算链路长度
    华为机试题:求子区间面积和
    华为机试题: IPv6地址压缩
  • 原文地址:https://www.cnblogs.com/xihong2014/p/4283149.html
Copyright © 2011-2022 走看看