LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-20-2006, 09:52 AM   #1
apellefigliodiapollo
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Rep: Reputation: 0
Question PHP with RADIUS


Hi,
I have a big problem!!
I have to configure a gateway that must works with radius server. I have a PHP page to login users that requires some functions that are defined in the PECL module php-radius. I have installed this module correctly, but when I tried to authenticate users it compares in the authentication page this error:

Warning: dl(): Unable to load dynamic library '/usr/lib/php4/radius.so' - /usr/lib/php4/radius.so: undefined symbol: ap_php_snprintf in /home/twelve/wilmagate_trento/gateway/web.TEMPLATE/auth/check.inc.php on line 41



Fatal error: Call to undefined function: radius_auth_open() in /home/twelve/wilmagate_trento/gateway/web.TEMPLATE/auth/check.inc.php on line 43

I used either the function dl() to load the library radius.so dinamically, and the command extention=radius.so in the php.ini file.
However, it seems that the radius.so isn't never loaded and a undefined symbol error occurs.

Can anyone help me??

I use fedora3, php 5.1.2, apache 2, FreeRadius

Thanks
 
Old 02-27-2006, 10:23 AM   #2
micahgeek
LQ Newbie
 
Registered: Feb 2006
Posts: 10

Rep: Reputation: 0
I assume you got radius from pecl. Did you compile it from source? You could manually compile it by downloading the tgz file and ungziping it and untaring it. Inside the source directory, type in 'phpize' that will make you configure script. To run the script, type in './configure', ans then run 'make && make install'. If you get an error, you may have a version of php that the extension does not work with. Try using php4.4/4.3 or php5.0.x
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Php-radius Question apellefigliodiapollo Linux - Software 0 02-20-2006 04:12 AM
RADIUS and Others wwnexc Linux - Networking 4 10-31-2005 01:30 PM
Radius gummimann Linux - Networking 0 02-04-2004 03:43 AM
PHP & Radius/PAM authentication etron Programming 1 10-16-2003 03:38 AM
Radius Help PuNkErX Linux - Networking 1 10-02-2003 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration