Heim  >  Artikel  >  Backend-Entwicklung  >  centos7 YUM installiert PHP5.6

centos7 YUM installiert PHP5.6

不言
不言Original
2018-04-16 10:17:329608Durchsuche

Der Inhalt dieses Artikels handelt von der Centos7 YUM-Installation von PHP5.6. Jetzt kann ich ihn mit allen teilen, die ihn benötigen.

先安装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

Verwandte Empfehlungen.

CentOS7yum-Installation PHP7.2-Instanzmethode



Das obige ist der detaillierte Inhalt voncentos7 YUM installiert PHP5.6. Für weitere Informationen folgen Sie bitte anderen verwandten Artikeln auf der PHP chinesischen Website!

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn