# php -v
Afli ce versiune ai
Instalezi - daca nu sunt deja instalate
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum install yum-utils
yum-config-manager --disable remi-php71
yum-config-manager --disable remi-php5*
yum-config-manager --disable remi-test
# yum-config-manager --enable remi-php71
# yum-config-manager --enable remi-php72
# yum-config-manager --enable remi-php73
# yum-config-manager --enable remi-php74
yum remove php
yum remove php-*
Se dezinstaleaza tot ce tine de php, inclusiv phpmyadmin
Apoi se instaleaza ce pachet a fost enable
yum -y install php php-cli php-fpm php-mysqlnd php-zip php-devel php-gd php-mcrypt php-mbstring php-curl php-xml php-pear php-bcmath php-json
Se restarteaza httpd
Niciun comentariu:
Trimiteți un comentariu