
Doing each line individually is a pain. Here is a handy shortcut.
Start with the usual apt install php8.x-
Then include each module name separate by a comma within braces like this.
apt install php8.3-{common,curl,fpm,gd}
Here is my bookmarked version of all the ones I install on a fresh server.
apt install php8.3-{bcmath,cli,common,curl,fpm,gd,igbinary,intl,mbstring,mysql,opcache,redis,readline,xml}
Leave a Reply