Check version of PHP, and add configable host and port