I have php versions 5.6, 7.0 and 7.3 with ISPC 3 The system was installed following this guide: https://www.howtoforge.com/perfect-server-debian-10-buster-apache-bind-dovecot-ispconfig-3-1/ and the php versions following this: https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/ I need to install mcrypt extension for php7.0. As there is no phpize7.0 installed by default, I have done all in this way: Code: # update-alternatives --config php : select 7.0 # update-alternatives --config php-cgi : select 7.0 # apt install php7.0-dev then, according the Sury wiki, I have downloaded the mcrypt extension 1.0.1 for php7.0 and install: Code: # wget https://pecl.php.net/get/mcrypt-1.0.1.tgz # tar xf mcrypt-1.0.1.tgz # cd mcrypt-1.0.1 # phpize7.0 ./configure --with-php-config=php-config7.0 However, the mcrypt extension is not installed in php7.0 but in php 7.3: Code: # locate mcrypt.ini /etc/php/7.3/apache2/conf.d/20-mcrypt.ini /etc/php/7.3/cgi/conf.d/20-mcrypt.ini /etc/php/7.3/cli/conf.d/20-mcrypt.ini /etc/php/7.3/fpm/conf.d/20-mcrypt.ini /etc/php/7.3/mods-available/mcrypt.ini these .ini for php7.3 contains the mcrypt extension: Code: # cat /etc/php/7.3/apache2/conf.d/20-mcrypt.ini extension=mcrypt.so and the mcrypt.so is placed inside /usr/lib/php/20180731/ Code: # locate mcrypt.so /usr/lib/libmcrypt.so.4 /usr/lib/libmcrypt.so.4.4.8 /usr/lib/php/20180731/mcrypt.so it seems the folder /usr/lib/php containts each named "date" folder with the .so extensions for the different php versions: Code: # ll /usr/lib/php/ total 76K drwxr-xr-x 2 root root 4,0K lun 28/11/2022 00:43 20131226/ drwxr-xr-x 3 root root 4,0K jue 01/12/2022 23:36 20151012/ drwxr-xr-x 2 root root 4,0K mar 29/11/2022 08:24 20180731/ drwxr-xr-x 8 root root 4,0K mi␋ 30/11/2022 08:54 ./ drwxr-xr-x 76 root root 4,0K jue 01/12/2022 23:36 ../ drwxr-xr-x 3 root root 4,0K mi␋ 30/11/2022 08:54 7.0/ drwxr-xr-x 3 root root 4,0K s▒b 05/11/2022 00:04 7.3/ drwxr-xr-x 3 root root 4,0K lun 28/11/2022 00:43 5.6/ -rw-r--r-- 1 root root 13 s▒b 29/10/2022 09:08 packaging -rwxr-xr-x 1 root root 514 s▒b 29/10/2022 09:08 php-fpm-socket-helper -rw-r--r-- 1 root root 4,8K s▒b 29/10/2022 09:08 php-helper -rw-r--r-- 1 root root 9,1K s▒b 29/10/2022 09:08 php-maintscript-helper -rwxr-xr-x 1 root root 3,0K s▒b 29/10/2022 09:08 sessionclean -rwxr-xr-x 1 root root 309 vie 30/09/2022 00:13 php7.0-fpm-reopenlogs -rwxr-xr-x 1 root root 309 dom 24/10/2021 17:18 php7.3-fpm-reopenlogs -rwxr-xr-x 1 root root 309 vie 30/09/2022 00:14 php5.6-fpm-reopenlogs the folder named /20180731/ seems to contain the php7.3 .so files. The other two belongs to php 5.6 and 7.0 Why the mcrypt.so has been installed in php7.3 instead php7.0? Is there something wrong in my installation process?. Can I revert this installation to install again the mcrypt extension for 7.0 ? What is the right way?