CentOS6.4 yum command to install php5.2.17

  
Recently when the company deployed the server, they found that the server they provided is centos6.4 system, installed the system and related services httpd, mysql, php, a run code, found in php5.3 The zend encryption can't be used. After installing Zend Guard Loader, it still can't be used. It is found that only Zend Optimizer decryption is supported in the program. So I have to find the version of php5.2. Hurry up and find out if there is yum installed php5.2. I was really found by me. Had to modify the yum source. The method is as follows: 1. Environment centos6.4 x86_642. Add source wget -q -O - http://www.atomicorp.com/installers/atomic |  Sh3. Exclude php5.3 package, we only need php5.2.17

vim /etc/yum.conf

Add this line: exclude=*5.3.*
4.Install

Yum install php php-mysql php-xml php-gd php-mbstring php-cli

You're done!

(Note: I installed this method, and installed it as php5.4, but fortunately the original directory read and write permissions are resolved)

Copyright © Windows knowledge All Rights Reserved