Home > Linux, PHP, System Administration, Unix > Installing RADIUS Library for PHP

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
Categories: Linux, PHP, System Administration, Unix Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: