Linux中安装PHP的ZendGuardLoader扩展的详细解决方案

1.ZendGuardLoader简介

从PHP5.3开始Zend Guard将取代Zend Optimizer~下载安装Zend Guard,实际上不用装Zend Guard了 直接下载LOADER就可以了,下好之后扔进usr/local/zend/ 修改php.ini就可以了~和以前的Zend Optimizer一样。

2.ZendGuardLoader安装准备

32位 http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz

64位 http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz

32位 http://pan.baidu.com/s/1milgibY

64位 http://pan.baidu.com/s/1c1RdFB6


3.ZendGuardLoader详细的安装配置如下
ZendGuardLoader单独安装配置过程如下:

1.新建ZendGuardLoader放置目录zend,并xshell进入该目录
详细地址/usr/local/zend

2.解压(以64位系统为例)
tar -zxvf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
cp ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.x/ZendGuardLoader.so /usr/local/php/lib/php

3.配置
下载编辑php.ini
最后加上:
[Zend]
zend_extension=/usr/local/php/lib/php/ZendGuardLoader.so

4.上传覆盖重启服务器


猜你喜欢

转载自blog.csdn.net/yeyinshi/article/details/51689903