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

来源:互联网 发布:linux shell 小数比较 编辑:程序博客网 时间:2024/06/07 19:07
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/zend2.解压(以64位系统为例)tar -zxvf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gzcp ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.x/ZendGuardLoader.so /usr/local/php/lib/php3.配置下载编辑php.ini最后加上:[Zend]zend_extension=/usr/local/php/lib/php/ZendGuardLoader.so4.上传覆盖重启服务器


1 0
原创粉丝点击