Help needed with external module
| From: | Mark Constable | Date: | Tue, 21 Dec 1999 05:01:10 +0000 |
| Subject: | Help needed with external module | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8277@lists.php.net to get a copy of this message | ||
I'm trying to provide a new external module and battling
with the concept for the first time.
a0# strings /usr/lib/apache/1.3/libphp4.so | grep rad
radius_dir
radlog_dir
radius_functions
php_if_radius_auth
radius_module_entry
php_info_radius
rad_getpwnam
pairadd
php_if_deg2rad
php_if_rad2deg
/etc/raddb
radius_auth
radrecv: Reply from host %lx code=%d, id=%d, length=%d
radius
radius.log
rad2deg
deg2rad
./configure '--with-radius=yes' '--with-mysql' '--with-xml'
'--enable-track-vars' '--with-apxs'
.. and here is a test script below,
<?php
$ret =
radius_auth('markc','xxxxx','a0.localnet','safesurf');
print "ret = $ret\n";
?>
... which gives this response in a browser,
Fatal error: Call to undefined function: radius_auth() in /root/php-radius.php on line 2
radius_auth() looks like it is "visible" in the php4 apache
module but still comes back as an undefined function. Could
anyone spare a hint as to what I might need to yet do to
make radius_auth() actually callable ?
--markc