Home >Backend Development >PHP Tutorial >centos7 YUM install PHP5.6
The content of this article is about centos7 YUM installation of PHP5.6. It has a certain reference value. Now I share it with everyone. Friends in need can refer to it
先安装epel-release https://blog.csdn.net/w670328683/article/details/51673757 yum -y install epel-release 切换源 https://blog.csdn.net/u010738364/article/details/75635334 rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm yum -y install php56w php56w-mysql php56w-gd libjpeg* php56w-ldap php56w-odbc php56w-pear php56w-xml php56w-xmlrpc php56w-mbstring php56w-bcmath yum -y install httpd php-gd56w php-intl56w php-mysql56w mod_ssl openssl mcrypt php5-mcrypt56w yum -y install php56w-mcrypt php56w-soap php56w-intl php56w-pdo systemctl restart mariadb.service systemctl restart httpd.service
Related recommendations:
CentOS7yum installation PHP7.2 instance method
The above is the detailed content of centos7 YUM install PHP5.6. For more information, please follow other related articles on the PHP Chinese website!