Php error with Dialup Admin and FreeBSD

Timmy moonyhk at netscape.net
Fri Jun 1 19:25:12 CEST 2012


On 2012-06-01 11:58 PM, Kaya Saman wrote:
> 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
>

Dialup Admin works perfectly on Ubuntu 10.04 64 bit with php 5.3 except 
for some minor errors.

No alteration is needed.


More information about the Freeradius-Users mailing list