Install Zend Optimizer GD on Ubuntu 8.04 Server
原网站地址:http://www.yinfor.com/
最近发现国外的技术博客针对相关技术问题提供了很好的解决方案,自己转了一篇,上面是对7.04。我修改了一些针对8.04版本的改动。
I have a Ubuntu 8.04 server here with following server.
Apache2 and PHP 5
The PHP info show as below:
I still want to install Zend Optimizer.
So I go to Zend's official server, get the link of the latest version.
Now I record the steps how to install it on Ubuntu 7.04 server.
1) Login Ubuntu by Putty.
2) Enter the following command to download the source package for my i386 core.
wget http://downloads.zend.com/optimi ... glibc21-i386.tar.gz
注:此处我是用FTP上传的:ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz 效果同上;
3) Decompress the tar file
tar xvfz ZendOptimizer-3.2.8-linux-glibc21-i386.tar.gz
4) Install it.
cd ZendOptimizer-3.2.8-linux-glibc21-i386
./install.sh
During the installation, you need provide the path of the Zend installation,
/usr/local/Zend
PHP Configuration file location
/etc/php5/apache2
Apache Control Utility path
/usr/sbin
注:8.04版本的是/usr/sbin/apache2ct1 #安装的时候是默认的。
#另多了一个选项是httpd.conf的位置:
/etc/apache2/httpd.conf
Done.
After installation, the PHP info changed to:
安装GD 则执行:sudo apt-get install php5-gd 即可。