Install PHP 7.4 on Ubuntu 22.04 with mariadb mysql

preview_player
Показать описание
Install PHP 7.4 on Ubuntu 22.04
The default Ubuntu 22.04 repositories provide PHP 8.x

to install php v 7.4 on ubuntu 22.04 server use this commands:

sudo apt-cache policy php
HINT: Replace * to the greater-than Symbol
sudo add-apt-repository ppa:ondrej/php --yes &* /dev/null
sudo add-apt-repository ppa:ondrej/php -y
sudo apt update
sudo apt install php7.4 or "apt install php7.3"
php7.4 -m
sudo apt-cache search php7.4-mysql
sudo apt install php7.4-mysql
sudo apt install mariadb-server
sudo apt install php7.4 libapache2-mod-php7.4 php7.4-{mysql,intl,curl,json,gd,xml,mbstring,zip} -y
Рекомендации по теме
Комментарии
Автор

Hey this is really helpful, do you mind showing me or telling me how you would configure phpmyadmin with this?

azmolmiah