Linux下ZendOptimizer的安装与配置方法
内容:
在装的好的Red Hat Linux 9 + Apache 2.0.55 + MySQL 5.1.6 + PHP 5.1.2后,接下来就是安装linux下的php加速器ZendOptimizer 2.6.2了。
自己编译 PHP 后,Zend Optimizer 2.6.2 需要自己设置一下,请参照以下步骤:
假设你编译滴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配置,你可以用保存为info.php,然后带开浏览器输入
http://localhost/info.php在这个页面的上边有一个Zend图标,看看你安装的ZendOptimizer的版本是不是被激活了!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 Mac version
God-level code editing software (SublimeText3)

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Atom editor mac version download
The most popular open source editor