Install PHP 5.6 on Debian

Debian 9 come with PHP 7. To install PHP 5.6, run

Install PHP 5.6 with

Enable SimpleXML module

Install php-fpm if required

See php