this is the quickly solution untill DA fix the converter issue whit multiphp (easyapache4)
this works only whit Easypache 4 multiphp
1. find your php version you installed
cat /usr/local/directadmin/custombuild/options.conf
checked php setting like this
This is my seting how looks like
#PHP Settings
php_release=7.2
php1_mode=php-fpm
php2_release=7.3
php2_mode=php-fpm
php3_release=5.6
php3_mode=php-fpm
php4_release=5.4
php4_mode=php-fpm
this is the number i used for my php version
PHPVER1= 1 --> php7.2
PHPVER2= 2 --> php7.3
PHPVER1= 3 --> php5.6
PHPVER1= 4 --> php5.7
change yours PHPVER1="your number" in Following codes
#######CPANELto DA EASYAPACHE 4 PHPVERSION##########
CPANEL_USERDATA="${DIRECTADMIN_BACKUPS}/${USERNAME}_cpanel_to_convert/userdata/${CONVERTED_DOMAIN}"
grep "phpversion" $CPANEL_USERDATA >> ${DIRECTADMIN_BACKUPS}/${USERNAME}_cpanel_to_convert/userdata//phpversion.txt
PHPVER=$(awk '{print $2}' ${DIRECTADMIN_BACKUPS}/${USERNAME}_cpanel_to_convert/userdata//phpversion.txt)
rm -f ${DIRECTADMIN_BACKUPS}/${USERNAME}_cpanel_to_convert/userdata//phpversion.txt
if [ "${PHPVER}" = "ea-php73" ]; then
PHPVER1="2"
fi
if [ "${PHPVER}" = "ea-php54" ]; then
PHPVER1="4"
fi
if [ "${PHPVER}" = "ea-php56" ]; then
PHPVER1="3"
fi
if [ "${PHPVER}" = "ea-php72" ]; then
PHPVER1="1"
fi
#############PHP 7.0 php 7.1 ##########################
if [ "${PHPVER}" = "ea-php70" ]; then
PHPVER1="2"
if [ "${PHPVER}" = "ea-php71" ]; then
PHPVER1="2"
##### PHPVERSION_END###########################
for the php 7.0 , php 7.1. users
force them to php 7.2 or php 7.3
change PHPVER1 ="your php 7.2 or php7.3 number"
2. Make backup of file
cd /usr/local/directadmin/scripts/cpanel_to_da
cp cpanel_to_da.sh cpanale_to_da.sh.bak
use a editor like nano or vi and edit the file /usr/local/directadmin/scripts/cpanel_to_da
find #Create domain.conf line after this line
put the all codes you allready changed whit yours PHPVER1 numbers
then find the line
echo "php=ON" >> ${CONVERTED_DOMAIN_CONF}
after this line put following 2 codes
echo "php1_select=$PHPVER1" >> ${CONVERTED_DOMAIN_CONF}
echo "php2_select=0" >> ${CONVERTED_DOMAIN_CONF}
Then save the file cpanel_to_da.sh
good luck