freeradius agent and "PHP Fatal error: Call-time pass-by-reference has been removed in" [SEC=UNCLASSIFIED]
ref 1: http://wiki.freeradius.org/config/Status ref 2: http://stackoverflow.com/questions/8971261/php-5-4-call-time-pass-by-referen...
freeradius v3.0 php5 v5.5
I've updated $radmsg IAW ref 1 $radmsg = "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = $ statstype, Response-Packet-Type = Access-Accept";
running radclient as noted in ref1 also works. So all setup and working.
ref2 indicates the fault is easy to fix but i can't understand it. -------- dc2radius1:/usr/lib/observium_agent/local root $ ./freeradius PHP Fatal error: Call-time pass-by-reference has been removed in /usr/lib/observium_agent/local/freeradius on line 54 --------
line 54: exec("echo '$radmsg' | $radcmd", &$out, $retval);
how might line 54 be altered to actually run. The alternatively is to rewrite it as a shell script (cause thats how programmers work, they rewrite in the language they know).
thanks
Peter Hine Senior Technical Support Engineer (Servers) FCoA ITS peter.hine@familycourt.gov.au
********************************************************************** The information contained in this e-mail (including any attachments) is for the exclusive use of the addressee. If you are not the intended recipient please notify the sender immediately and delete this e-mail. It is noted that legal privilege is not waived because you have read this e-mail. **********************************************************************
participants (1)
-
Peter.Hineďź familycourt.gov.au