7

CentOS安装php加速软件Zend Guard

 3 years ago
source link: https://www.80shihua.com/archives/550
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

CentOS安装php加速软件Zend Guard

作者: dreamfly 分类: php 发布时间: 2015-05-28 22:15

1、下载Zend Guardcd /home

 wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz    #32位
       wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz  #64位   
2、安装Zend Guard
       mkdir /usr/zend       #建立Zend Guard安装目录
       tar xvfz ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz    #解压安装文件
       cp ZendGuardLoader-php-5.3-linux-glibc23-i386/php-5.3.x/ZendGuardLoader.so     /usr/zend/   #拷贝文件到安装目录
       rm -rf /home/ZendGuardLoader-php-5.3-linux-glibc23-i386*   #删除安装包   
系统运维  www.osyunwei.com  温馨提醒:qihang01原创内容©版权所有,转载请注明出处及原文链接

3、配置Zend Guard
       cp  /etc/php.ini    /etc/php.inibak   #修改之前先备份
       vi /etc/php.ini    #编辑文件
       在最后位置添加以下内容
        [Zend Guard]
        zend_extension=/usr/zend/ZendGuardLoader.so
        zend_loader.enable=1
        zend_loader.disable_licensing=0
        zend_loader.obfuscation_level_support=3
        zend_loader.license_path=   
系统运维  www.osyunwei.com  温馨提醒:qihang01原创内容©版权所有,转载请注明出处及原文链接

4、重启web服务器
       /etc/init.d/httpd restart
至此,Zend Guard安装完成。

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!

发表评论 取消回复

电子邮件地址不会被公开。 必填项已用*标注


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK