I don't know phpCAS client specifically, but typically the clients only care about the protocol (i.e. 1.0 or 2.0) and not the actual server version: phpCAS::client(CAS_VERSION_2_0, $cas_host, $cas_port, $cas_context);
https://github.com/Jasig/phpCAS/blob/master/docs/examples/example_simple.php Cheers, Scott On Mon, Mar 5, 2012 at 6:05 AM, Khurram Shahzad < [email protected]> wrote: > Hi, > > I have setup the CAS server ver. 3.4.11 via LDAP authentication method on > a local machine. I able to login via default java client. > > Now, I needed to authenticate via php so dowloaded the latest phpCAS ver. > 1.2.2, When I wrote some basic authentication code i got the following > error. > > phpCAS error: phpCAS::?(): this version of CAS (`3.4.11') is not supported >> by phpCAS 1.2.2 in ? on line ? >> >> > My basic test code was as follows > >> include "../CAS-1.2.2/CAS.php"; >> $obj = new >> CAS_Client('3.4.11',false,"localhost",8443,"cas-server-webapp-3.4.11"); >> $obj->forceAutehentication(); >> > > As phpCAS 1.2.2 is latest so it must support latest 3.4.11, so can any one > direct me, is it a false alarm or i really need to look for another PHP to > CAS client? Also can anyone suggest another one. > > Best Regards, > Khurram, > Snr. PHP Developer, > Zepto Systems, > Pakistan. > > Cell: +923005237149 > > -- > You are currently subscribed to [email protected] as: > [email protected] > > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
