Php error with Dialup Admin and FreeBSD
Kaya Saman
kayasaman at gmail.com
Fri Jun 1 17:58:20 CEST 2012
Hi,
I'm trying to test FreeRADIUS on FreeBSD which is the easy part
however, I need a web ui and so Dialup Admin directly comes with the
port on FreeBSD.....
Trying to get it running I am having difficulty with php it seems??
I get a green screen saying "Dialup Admin" and that's it. On the left
hand side of the screen I have this:
<?php
$auth_user = $HTTP_SERVER_VARS["PHP_AUTH_USER"];
if ($auth_user){
if (is_file("../html/buttons/$auth_user/buttons.html.php3"))
include("../html/buttons/$auth_user/buttons.html.php3");
else{
if (is_file("../html/buttons/default/buttons.html.php3"))
include("../html/buttons/default/buttons.html.php3");
}
}
else{
if (is_file("../html/buttons/default/buttons.html.php3"))
include("../html/buttons/default/buttons.html.php3");
}
?>
I went through the install guide here:
http://wiki.freeradius.org/Dialup-admin#Apache+Configuration
However, I am using Php5.4 which gets installed by default on FreeBSD
unless using a "Legacy" port.
Could anyone help me getting this to work or is the web-ui simply too
old to be able to work with the latest FreeBSD variant?
Regards,
Kaya
More information about the Freeradius-Users
mailing list