Recently, when deploying servers for the company, we found that the servers they provided were CentOS6.4. After installing the system and related services httpd, mysql, php, and one-run code, we found that zend encryption in php5.3 was not available, after Zend Guard Loader is installed, Zend Guard Loader cannot be used. Only Zend Optimizer decryption is supported in the program. So I had to find the php5.2 version. Check whether php5.2 is installed in yum.
I found it. You have to modify the yum source. The method is as follows:
1. Environment
Centos6.4 x86_64
2. Add Source
Wget-q-O-http://www.atomicorp.com/installers/atomic | sh
3. Exclude the php5.3 package. We only need php5.2.17.
Vim/etc/yum. conf
Add this row: exclude = * 5. 3 .*
4. Installation
Yum install php-mysql php-xml php-gd php-mbstring php-cli
Success!
(Note: I have installed php5.4 in accordance with this method. Fortunately, the original directory read/write permission error is solved)
Recommended reading:
RedHat Linux local yum source configuration
RedHat 6.2 modify yum source in Linux use CentOS source for free
Configure the epel yum Source
Redhat local yum source configuration
Description of yum configuration file
Install yum in RedHat 6.1)
YUM installation and cleaning