linux install php extensions code example
Example: how to install all php extensions ubuntu
sudo apt install openssl php-common php-curl php-json php-mbstring php-mysql php-xml php-zip
sudo apt install openssl php-common php-curl php-json php-mbstring php-mysql php-xml php-zip