如何讓 Codeigniter 支援 CAS ?

Posted by on | | 0 意見
環境:ubuntu + php


1.安裝 php pear

apt-get install php-pear


2.安裝 php curl

apt-get install php5-curl


3.用pear安裝 phpcas

pear install  http://downloads.jasig.org/cas-clients/php/current.tgz


4.在codeigniter中,安裝phpcas的libs

請參考:

CAS Authentication Library for CodeIgniter