Fix build fail, disable 'open_basedir' and others minor changes for php-gtk-git / Release 7