Added extra setup steps for chroot environment
Added partial php logging