免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1624 | 回复: 5
打印 上一主题 下一主题

求救,zend optimizer死都装不好! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-07-23 13:49 |只看该作者 |倒序浏览
freebsd 2.5.1
php 4.3.7
zend optimizer 2.5.3

安装zend optimizer都很顺利的,装好之后php.ini相关配置也加进去了
可是用phpinfo()看就是没有 zend optimizer,zend过的程序也不能运行


php.ini原来是在/usr/local/lib下的,zend optimizer装好后自动复制到/usr/local/Zend/etc

我试着改php.ini里面参数,都有效果的,就是zend optimizer不行

装了N次,实在是没办法了,大家帮帮忙!

论坛徽章:
0
2 [报告]
发表于 2004-07-23 23:47 |只看该作者

求救,zend optimizer死都装不好!

弄好了,不过没找到原因

是把php换成4.3.8,然后zend optimizer重装了遍

论坛徽章:
0
3 [报告]
发表于 2004-07-24 08:55 |只看该作者

求救,zend optimizer死都装不好!

你看看zend_extension的路径是不是正确的指向了Zend优化器

记得重启apache

论坛徽章:
0
4 [报告]
发表于 2004-12-14 12:10 |只看该作者

求救,zend optimizer死都装不好!

PHP Version 4.3.9

zend optimizer 2.5.7
安装一切OK,如楼主所说。但phpinfo提示没有安装上zend,重新安装zend optimizer 还是老样子。
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.7
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.5.7

zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

论坛徽章:
0
5 [报告]
发表于 2004-12-14 12:20 |只看该作者

求救,zend optimizer死都装不好!

1. Please check that your PHP is compiled in non-debug mode - this can be checked by looking at the top part of the phpinfo() function output and checking "Debug
Build" row (ZEND_DEBUG in older PHP versions) - it should say "no".

2. Please check that the zend_extension (for Unix) or zend_extension_ts (for Windows) for the product is in the php.ini file and the name of the loadable binary (ending by .so for Unix and .dll for Windows) is indeed pointing to an existing file.
Please check that there are no extra spaces and the like. It should look something like the following:
zend_extension=/usr/local/Zend/lib/ZendOptimizer.so - for Unix zend_extension_ts="C:\Program Files\Zend\lib\ZendOptimizer.dll" - for Windows
The location of the php.ini file can be seen in the top part of the phpinfo() function output.
(Some versions of Zend products don't directly load the Zend extensions but point at the ZendExtensionManager.so - this is correct behavior).

3. Please check that your PHP is compiled in ZTS mode for Windows and non-ZTS mode for Unix. This can be checked by looking at the top part of the phpinfo() function and checking "Thread Safety" row - it should say "disabled" for Unix and "enabled" for Windows.

4. Look at the error log file for your web server (usually, for Apache it is error_log and defined in the configuration by ErrorLog directive). If you see there are any error messages, please check the knowledge base further, and if you do not find solution, please contact Zend support.

5. If you don't see any error messages (but the product still doesn't load), please set display_errors and display_startup_errors to 1 in your php.ini and restart your web server, then check again for the messages. Note that if you are using Apache web server and do not see message like: "Apache <...some text...>; configured -- resuming normal operations" in the error log after starting Apache - you are probably looking at the wrong file.

6. If you still cannot see what the problem is - please contact support for further help.

发现
Thread Safety  enabled  
如何改为disabled

论坛徽章:
0
6 [报告]
发表于 2004-12-16 01:33 |只看该作者

求救,zend optimizer死都装不好!

试吓zend optimizer 2.5.7,我在freebsd5.21\php4.3.9\apache1.3.31下通过的.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP