Pages

Saturday, 8 June 2013

Installing RADIUS Library for PHP

Overview:
This package is based on the libradius of FreeBSD. This PECL adds full support for Radius Authentication (» RFC 2865) and Radius Accounting (» RFC 2866). This package is available for Unix (tested on FreeBSD and Linux) and for Windows.
The libradius library implements the client side of the Remote Authentication Dial In User Service (RADIUS).  RADIUS, defined in RFCs 2865 and 2866, allows clients to perform authentication and accounting by means of network requests to remote servers.
Download Link: http://pecl.php.net/package/radius
Installation:
* At the build time of PHP:
  • untar the package (Usually into php/ext)
  • Rename radius-x.x to radius
  • run ./buildconf in php
  • run ./configure --enable-radius
  • make
  • make install
* To have it as .so:
  • untar the package
  • run phpize in the radius-x.x directory
  • run ./configure in the radius-x.x directory
  • make
  • make install