// ignor version php or something else
composer install --ignore-platform-reqs
apt-get install php-gd
//Install Necessary PHP Extensions
apt-get install php7.4-gmp
apt-get install php-curl
sudo apt-get install php7.4-zip
sudo apt-get install php-mbstring -y
sudo apt-get install php-xml -y
//Restart Apache Server
sudo service apache2 restart
//change in file php.ini
//find word curl remove " ; " before extension
// find another word fileinfo and remove " ; " before extenion and
// save it
// run command again
// all set