基本编译组件安装
1
yum install gcc cpp glibc glibc-devel gcc-c++
2. PCAP/PNG/GD Library(图像处理库)
1
yum install libpcap libpng libpng-devel gd gd-devel
3.安装apache2
1
yum install httpd mod_ssl
2
chkconfig httpd on
3
service httpd start
然后执行相应版本的升级
shell>yum install php* 或shell>yum install php-devel
首先就是要升级我们的php 等升级完成以后就可以升级相应的包了。
shell>yum install php-gd
shell>yum install php-mcrypt
shell>yum install php-mbstring