分享

写回答

发帖

[提问] 我购买的godaddy 空间php版本为 5.3.13 默认zend optimizer版本是v2.3

20111208sbd

发表于 2012-10-7 17:53:30 | 显示全部楼层

baishitou 发表于 2012-10-7 04:51 PM
非常感谢,已经找到!

那个教程比较老了,就怕面板变了
回复 支持 反对

使用道具 举报

回答|共 11 个

20111208sbd

发表于 2012-10-7 16:42:25 | 显示全部楼层

参考下这个: godaddy添加java/jsp,修改php/.net版本教程  不知道对你有没有帮助
回复 支持 反对

使用道具 举报

baishitou

发表于 2012-10-7 16:34:32 | 显示全部楼层

20111208sbd 发表于 2012-10-7 04:20 PM
降低php版本可以在控制面板里操作吧

没有找到,请指点一下!
回复 支持 反对

使用道具 举报

baishitou

发表于 2012-10-7 16:51:21 | 显示全部楼层

20111208sbd 发表于 2012-10-7 04:42 PM
参考下这个: godaddy添加java/jsp,修改php/.net版本教程  不知道对你有没有帮助

非常感谢,已经找到!
回复 支持 反对

使用道具 举报

GoDaddy GoDaddy 3771 人阅读 | 11 人回复

发表于 2012-10-7 15:39:39 | 显示全部楼层 |阅读模式

我购买的godaddy 空间php版本为 5.3.13 默认zend optimizer版本是v2.3 ,导致用ZEND加密的程序无法运行。

网上说PHP5.3以上的不支持zend optimizer。怎么弄

我运行程序提示:
  1. Zend Optimizer not installed
  2. This file was encoded by the Zend Guard. In order to run it, please install the Zend Optimizer (available without charge), version 3.0.0 or later.

  3. Seeing this message instead of the website you expected?
  4. This means that this webserver is not configured correctly. In order to view this website properly, please contact the website's system administrator/webmaster with the following message:

  5. The component "Zend Optimizer" is not installed on the Web Server and therefore cannot service encoded files. Please download and install the Zend Optimizer (available without charge) on the Web Server.

  6. Note: Zend Technologies cannot resolve issues related to this message appearing on websites not belonging to Zend Technologies.
  7. What is the Zend Optimizer?
  8. The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been available without charge, since the early days of PHP 4. It improves performance by scanning PHP's intermediate code and passing it through multiple Optimization Passes to replace inefficient code patterns with more efficient code blocks. The replaced code blocks perform exactly the same operations as the original code, only faster.

  9. In addition to improving performance, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Guard.

  10. The Zend Optimizer is a free product available for download from Zend Technologies. Zend Technologies also developed the PHP scripting engine, known as the Zend Engine.
复制代码
给官方写邮件,他提示要把下面代码加到PHP.ini里面。我加了不起作用。


[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_extension=/usr/local/Zend/lib/Optimizer-3.3.3/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3/ZendExtensionManager_TS.so

20111208sbd

发表于 2012-10-7 15:44:06 | 显示全部楼层

你是要升级zend optimizer吗?官方提供的应该不会错的啊,检查下有没有做错
回复 支持 反对

使用道具 举报

baishitou

发表于 2012-10-7 15:48:24 | 显示全部楼层

20111208sbd 发表于 2012-10-7 03:44 PM
你是要升级zend optimizer吗?官方提供的应该不会错的啊,检查下有没有做错


Zend Optimizer只适用于PHP5.2.x和一些更旧的版本.而我的空间上是PHP5.3的,降低PHP版本?
回复 支持 反对

使用道具 举报

enta

发表于 2012-10-7 15:51:07 | 显示全部楼层

baishitou 发表于 2012-10-7 03:48 PM
Zend Optimizer只适用于PHP5.2.x和一些更旧的版本.而我的空间上是PHP5.3的,降低PHP版本? ...

php5.3以上都已经包含了,不用担心。
回复 支持 反对

使用道具 举报

baishitou

发表于 2012-10-7 15:53:10 | 显示全部楼层

enta 发表于 2012-10-7 03:51 PM
php5.3以上都已经包含了,不用担心。

用探针查看。服务器上的zend optimizer版本是v2.3 。而PHP是5.3。13的。官方给的配置zend optimizer3.3.3的。我想是不是需要升到到这个版本?

目前系统无法运行!
回复 支持 反对

使用道具 举报

20111208sbd

发表于 2012-10-7 16:05:31 | 显示全部楼层

回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则