Fix for forced pdnsd and resolvconf upgrades.
PHP: Use correct version of ioncube_loader for 5.4
Update PHP and SQL config early enough to avoid issues during upgrade to newer version.