Install and Configure PHP
Install Latest PHP and All Dependency for WordPress
sudo apt-get install -y software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt-get update
sudo apt install php-common php-pear php7.4-cli php7.4-common php7.4-curl php7.4-fpm \ php7.4-gd php7.4-igbinary php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache \ php7.4-readline php7.4-redis php7.4-xml
Last updated 2 years ago