未分類

cenots 7 install php 7

yum update && yum install epel-release

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

yum-config-manager –enable remi-php73

yum install php

yum search all php

yum php php-mysqlnd php-pdo php-gd php-xml php-mbstring php-mcrypt php-pecl-apcu php-cli php-pear

rpm -Uvh https://repo.mysql.com/mysql80-community-release-el7-1.noarch.rpm

alter user ‘root’@’localhost’ identified with mysql_native_password by ‘@@@@@@@@@’;