Search for:
PHP 7.4


Step 1 :- sudo apt update

Step 2 :- sudo apt-get -y install php php-cgi libapache2-mod-php php-common php-pear php-mbstring && sudo apt install -y php7.4 libapache2-mod-php7.4 php7.4-common php7.4-gmp php7.4-curl php7.4-intl php7.4-mbstring php7.4-xmlrpc php7.4-mysql php7.4-gd php7.4-bcmath php7.4-xml php7.4-cli php7.4-zip && sudo a2enmod rewrite && sudo apt-get install -y php7.4-{cli,bcmath,bz2,intl,gd,mbstring,mysql,zip,opcache,intl,bcmath,xsl,zip,bz2}

Step 3 :- php -v

Install MariaDB 10+

Step 1 :- sudo apt update

Step 2 :- sudo apt install mariadb-server

Step 3 :- sudo systemctl start mariadb.service

Step 4 :- sudo mysql_secure_installation

then press Y set new password press Y,Y,Y

Set User and Password

Step 5 :- sudo mariadb

Then run This command

GRANT ALL ON *.* TO ‘root’@’localhost’ IDENTIFIED BY ‘Use last password‘ WITH GRANT OPTION;



sudo systemctl status mariadb