diff --git a/root/etc/e-smith/templates/etc/e-smith/sql/init/dl b/root/etc/e-smith/templates/etc/e-smith/sql/init/dl index ef01c61..784c4b0 100644 --- a/root/etc/e-smith/templates/etc/e-smith/sql/init/dl +++ b/root/etc/e-smith/templates/etc/e-smith/sql/init/dl @@ -11,7 +11,7 @@ if [ ! -d /var/lib/mysql/$db ]; then /usr/bin/mysql -e 'create database $db' /usr/bin/mysql $db < $dbstruct else - su -s /bin/bash - www -c "cd /usr/share/dl/include/scripts && /usr/bin/php56 ./dbupgrade.php" + su -s /bin/bash - www -c "cd /usr/share/dl/include/scripts && /usr/bin/php__PHP_VERSION__ ./dbupgrade.php" fi /usr/bin/mysql < - SetHandler "proxy:unix:/var/run/php-fpm/php56-dl.sock|fcgi://localhost" + SetHandler "proxy:unix:/var/run/php-fpm/php__PHP_VERSION__-dl.sock|fcgi://localhost" _EOF }