Fix bug #68405 (The PHP version dropdown doesn't show PHP versions after a form error)

require_once caused a problem here, so file needs to be included earlier
and reused by those two functions