Install the system and related services httpd,mysql,php, a run code, found php5.3 in the spilt function can not be used, the code inside a lot of use Ah, hurriedly online find out, there is no yum install php5.2 or change the dead code.
I found it. Methods are as follows
1. Environmental
Copy Code code as follows:
2. Add Source
Copy Code code as follows:
Wget-q-o-http://www.atomicorp.com/installers/atomic | Sh
3. Excluding php5.3 bags, we only need php5.2.17
Copy Code code as follows:
Vim/etc/yum.conf
exclude=*5.3.*
4. Installation
Copy Code code as follows:
Yum install php php-mysql php-xml php-gd php-mbstring
Done
PS: I hope that developers will write code later to use the split () function.
The above is the entire contents of this CentOS 6.4 installation php5.2.17. Hope to give you a reference, but also hope that we support the cloud-dwelling community.