Installation process of ZendOptimizer under Fedora13
Source: Internet
Author: User
To install ZendOptimizer under Fedora13, go to the official website to download zendoptimizer. Select a version to download. I chose 3.3.9 (32bit) to download and switch to the download directory. # C/home/sean/download the Zend Optimizer installation process under tarzxvfzendoptimizer-3.3.9-linux-glibc23-i386.tar. Fedora 13. go to the official website to download zend optimizer.
Select a version to download. I chose 3.3.9 (32 bit)
Download
Switch to the download directory.
# C/home/sean/Download
Extract
# Tar zxvf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz
Install. so is used in some versions on the Internet. The current version of ZendOptimizer is no longer used.
Open the data folder in the decompressed folder and open it. There are several folders. Select your php version. I chose ZendOptimizer. so in the 5 _ 2_x_comp folder.
The specific operation is as follows (you can also check the READEME-ZendOptimizer file in the decompressed Directory, if there is enough English)
1. copy ZendOptimizer. so to your own software folder (in fact, it can be arbitrary, just for future convenience)
First, go to the extract Directory:
# Cd ZendOptimizer-3.3.9-linux-glibc23-i386
Copy the file to the specified directory.
# Cp data/5_2_x_comp/ZendOptimizer. so/usr/local/lamp/ZendOptimizer. so (I copied it to the folder where I installed lamp)
Open your php. ini file, under/etc/php. ini
# Gedit/etc/php. ini
Add the following sentence at the beginning.
Zend_extension =/usr/local/lamp/ZendOptimizer. so
Save.
Finally, if your SELinux is not closed, it is wrong to restart apache Now. the reason for www.linuxidc.com is that the newly added/usr/local/lamp/ZendOptimizer. so file has a Permission problem. Execute this sentence:
# Chcon-v-R-u system_u-r object_r-t textrel_shlib_t/usr/local/lamp/ZendOptimizer. so (set system environment variables)
OK. restart apache now.
# Service httpd restart
Run the php file.
Phpinfo ();
?>
If
This image is displayed. There is the last sentence: with Zend Optimizer. It indicates that the installation is successful.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service