php+chroot fixes