phpCAS latest release v0.5.0-RC6 - last update 8-February-2007 20:18PM

phpCAS requirements

To make phpCAS correctly work, you need to fit the following requirements:

  • CURL 7.5+
  • PHP 4.3.1+, PEAR DB
  • Apache 2.0.44+

phpCAS also works with IIS since release 0.4.15.

CURL

CURL libs must be present on your system, and they must have been compiled with SSL support.

PHP >= 4.2.2

phpCAS users must have PHP compiled with the following options:

  • --with-curl: CURL support, needed to access proxies.
  • --with-openssl: SSL support, needed for fopen('https://...'), to validate CAS tickets;
  • --with-dom: DOM support, to read the XML responses of the CAS server (PHP4);
  • --with-zlib: Zlib support, needed by DOM.

When used within the Horde FrameWork:

  • --with-gettext: gettext support.

When used within Horde IMP:

  • --with-imap: IMAP and POP support, needed when using IMP;
  • --with-kerberos: Kerberos support, needed by IMAP.

When storing Horde user preferences to MySQL databases:

  • --with-mysql: MySQL support.

Notes:

  • PHP >= 4.3.0 is needed to get full logging information (thanks to debug_backtrace()).
  • On some systems (Fedora Core 2 for instance), package php_domxml is required.

Apache 2.0.44+

If you plan to write a CAS proxy, you will need to secure your Apache server with OpenSSL. HTTPS configuration is needed to use CAS proxies (the callback URL given to the CAS server to transmit the PGTIou must be secured). To achieve this, edit your httpd.conf file and add lines such as:

SSLCertificateFile /etc/x509/cert.server.pem
SSLCertificateKeyFile /etc/x509/key.server.pem
SSLCertificateChainFile /etc/x509/cachain.pem
SSLCACertificateFile /etc/x509/cacert.pem

Furthermore, the CAS server should trust the CAS proxy. If not, no PGTiou (a token that is required by CAs proxies to get PGTs) will be transmitted.

PEAR

phpCAS is using libraries PEAR::DB (without it, a 'could not find DB.php' error will be thrown) and PEAR:Log.

 

 
 
SourceForge.net Logo

Copyright © 2002-2006 - ESUP-Portail consortium