install script: simplified php version check
install script: don't use mktemp before checking its availability