Since phpCAS v1.6.0, a required base service URL parameterneeds to be passed to phpCAS::client(). This is basically the protocol, hostname, and port number (optional) of the site connecting to the CAS server in order for it to perform service URL discovery.