如何安装zend optimizer?
我先安装了AppServ2.5.6forWindows各版本如下:ApacheWebServerVersion2.2.2PHPScriptLanguageVersion5...
我先安装了AppServ 2.5.6 for Windows
各版本如下:
Apache Web Server Version 2.2.2
PHP Script Language Version 5.1.4
MySQL Database Version 5.0.22
phpMyAdmin Database Manager Version 2.8.2
目录为: c:\AppServ
c:\AppServ\Apache2.2
c:\AppServ\MySQL
c:\AppServ\php5
现在在实验一个系统"帝国网站管理系统"
发现需要安装zend optimizer,下载安装了一个3.2版本的,结果还是显示zend optimizer没有安装.
错误如下:
Zend Optimizer not installed
This file was encoded by the Zend Encoder / Zend SafeGuard Suite
In order to run it, please install the freely available Zend Optimizer, version 2.1.0 or later.
What is the Zend Optimizer?
The Zend Optimizer is one of the most popular PHP plugins for performance-improvent, and has been freely available since the early days of PHP 4. It improves performance by taking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks. The replacement code blocks perform exactly the same operations as the original code, only faster.
In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Encoder or Zend SafeGuard Suite.
The Zend Optimizer is a freely-available product from Zend Technologies. Zend Technologies is the company that develops the scripting engine of PHP, also known as the Zend Engine.
请教各位安装过的大虾们帮我解决,小弟不胜感激!! 展开
各版本如下:
Apache Web Server Version 2.2.2
PHP Script Language Version 5.1.4
MySQL Database Version 5.0.22
phpMyAdmin Database Manager Version 2.8.2
目录为: c:\AppServ
c:\AppServ\Apache2.2
c:\AppServ\MySQL
c:\AppServ\php5
现在在实验一个系统"帝国网站管理系统"
发现需要安装zend optimizer,下载安装了一个3.2版本的,结果还是显示zend optimizer没有安装.
错误如下:
Zend Optimizer not installed
This file was encoded by the Zend Encoder / Zend SafeGuard Suite
In order to run it, please install the freely available Zend Optimizer, version 2.1.0 or later.
What is the Zend Optimizer?
The Zend Optimizer is one of the most popular PHP plugins for performance-improvent, and has been freely available since the early days of PHP 4. It improves performance by taking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks. The replacement code blocks perform exactly the same operations as the original code, only faster.
In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Encoder or Zend SafeGuard Suite.
The Zend Optimizer is a freely-available product from Zend Technologies. Zend Technologies is the company that develops the scripting engine of PHP, also known as the Zend Engine.
请教各位安装过的大虾们帮我解决,小弟不胜感激!! 展开
2个回答
2015-08-10 · 知道合伙人数码行家
关注
展开全部
假设编译滴PHP在如下目录:/opt/php
第一步:下载 Zend Optimizer 2.6.2 地址:http://downloads.zend.com/optimizer...c21-i386.tar...
第二步:解开 ZendOptimizer-2.6.2-linux-glibc21-i386.tar.gz,找到以下文件 ZendOptimizer-2.6.2-linux-glibc21-i386.tar.gzZendOptimizer-2.6.2-linux-glibc21-i386data5_1_x_compZendOptimizer.so 把 ZendOptimizer.so 复制或上传(二进制)到以下目录下面: /opt/php/lib/
第三步:找到以下文件 /home/user/domain/etc/php5/php.ini 打开,编辑,在最后面输入以下内容:
Zend Optimizer options
zend_optimizer.optimization_level=1023
zend_extension=/opt/php/lib/ZendOptimizer.so
第四步:保存或上传(二进制) php.ini 文件
至此已全部完成Zend Optimizer配置,可以用<?php phpinfo(); ?>保存为info.php,
然后带开浏览器输入
http://localhost/info.php在这个页面的上边有一个Zend图标,看看安装的ZendOptimizer的版本是不是被激活了。
第一步:下载 Zend Optimizer 2.6.2 地址:http://downloads.zend.com/optimizer...c21-i386.tar...
第二步:解开 ZendOptimizer-2.6.2-linux-glibc21-i386.tar.gz,找到以下文件 ZendOptimizer-2.6.2-linux-glibc21-i386.tar.gzZendOptimizer-2.6.2-linux-glibc21-i386data5_1_x_compZendOptimizer.so 把 ZendOptimizer.so 复制或上传(二进制)到以下目录下面: /opt/php/lib/
第三步:找到以下文件 /home/user/domain/etc/php5/php.ini 打开,编辑,在最后面输入以下内容:
Zend Optimizer options
zend_optimizer.optimization_level=1023
zend_extension=/opt/php/lib/ZendOptimizer.so
第四步:保存或上传(二进制) php.ini 文件
至此已全部完成Zend Optimizer配置,可以用<?php phpinfo(); ?>保存为info.php,
然后带开浏览器输入
http://localhost/info.php在这个页面的上边有一个Zend图标,看看安装的ZendOptimizer的版本是不是被激活了。
名片
2024-10-28 广告
2024-10-28 广告
Altair HyperWorks是一款卓越的工程仿真与优化软件,集成了多个强大模块,专为复杂工程问题提供全面的解决方案。它以其独特的功能和优势,在提升产品设计效率、降低成本及加快上市速度方面表现出色。在优菁科技(上海)有限公司,我们为各行...
点击进入详情页
本回答由名片提供
展开全部
以前装过ZendOptimizer-3.0.1-Windows-i386.exe
按它的安装步骤一步一步来:
要选择对web server,选apach2x....;
然后要设置好两个路径:1、你php.ini文件的路径;2、apache文件路径(这个不对会提示)
你的情况应该是php.ini文件路径不正确,卸了重装试试;
我以前不是用AppServ的,好像有些AppServ就支持了zend的..
按它的安装步骤一步一步来:
要选择对web server,选apach2x....;
然后要设置好两个路径:1、你php.ini文件的路径;2、apache文件路径(这个不对会提示)
你的情况应该是php.ini文件路径不正确,卸了重装试试;
我以前不是用AppServ的,好像有些AppServ就支持了zend的..
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询