When I deployed servers for my company recently, I found that the servers they provided were CentOS 64 systems. I installed the system and related services httpd, mysql, php, and one-run code, I found that p recently deployed servers for the company and found that the servers they provided were centos6.4 systems. after installing the system and related services httpd, mysql, php, and one-run code, it is found that zend encryption in php5.3 is not available and cannot be used after Zend Guard Loader is installed. only then can Zend Optimizer decryption be 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)