Chinaunix首页 | 论坛 | 博客
  • 博客访问: 246930
  • 博文数量: 61
  • 博客积分: 2510
  • 博客等级: 少校
  • 技术积分: 800
  • 用 户 组: 普通用户
  • 注册时间: 2008-02-14 15:18
文章分类

全部博文(61)

文章存档

2011年(4)

2010年(5)

2009年(10)

2008年(42)

我的朋友

分类:

2008-12-26 17:42:45

Apache 2.0.63
PHP 5.2.8
Zend Optimizer 3.3
 
编译安装后,phpinfo()显示没有Zend Optimizer信息。
 
1)是否版本兼容问题?

Zend Optimizer System Requirements

Supported Operating Systems:

  • Linux x86, x86-64
  • Solaris Sparc V8, 9, 10
  • Solaris x86 v9, 10
  • FreeBSD x86 v5.x, 6.x
  • Windows x86 2000, XP, 2003
  • OS X (Intel & Power) 10.1-10.4 (32 bit only)
  • AIX pSeries v5

Supported Web Servers:

  • Apache 1.3.x
  • Apache 2.0.x (Prefork mode only 进程方式)
  • Apache 2.2.x (Prefork mode only 进程方式)
  • IIS 5, 6

Supported PHP versions (For use with non-threaded PHP only)

  • 4.2.x up to 4.4.x (4.3.x and higher for Mac OS X)
  • 5.0.x, 5.1.x, 5.2.x

2)是否编译和路径问题?

Zend Optimizer did not load
The following phpinfo() output was not displayed:
... with Zend Optimizer vX.Y.Z, Copyright (c) 1998-2007 by Zend Technologies.

It could be that...

  • PHP was compiled with debug support.
    The phpinfo() output will indicate that ZEND_DEBUG is 'enabled'. Recompile PHP without the debug support.
  • PHP used the wrong php.ini or the correct php.ini did not include the optimizer directives.
    To identify if the wrong php.ini file was used, run a trace on httpd -X (in the case of Apache module) or on a standalone PHP exec (in the case of cgi) to see which files it tried to open.
  • The Zend Optimizer directives in the php.ini file are incorrect.
    For example, there may be typos, the path to the optimizer is incorrect, the Zend Optimizer filename was not entered with the correct case, or the directives included extra white space at the beginning of a line or around a '='.
  • You are working with the wrong web server installation.
    (This will only occur when there are different installations.)

查明是因为php.ini 的位置问题。

阅读(1166) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~