I'm using the Debian 9 distro on my server, when I scanned the PHP packages I noticed that php-fpm seems to be an alias for php7.0-fpm.
If I am correct, I can install my packages like this:
apt-get install php-fpm php-mysql php-curl php-json php-mcrypt php-imagick php-mbstring php-xml -y
or so:
apt-get install php7.0-fpm php7.0-mysql php7.0-curl php7.0-json php7.0-mcrypt php7.0-imagick php7.0-mbstring php7.0-xml -y
And the final result will be exactly the same, ie in both cases the final version installed will be 7.0. Am I correct?