centos7 YUM install PHP5.6

不言
Release: 2023-03-23 22:06:01
Original
9681 people have browsed it

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template