Skip to content

Instantly share code, notes, and snippets.

@sharl
Created October 11, 2012 04:57
Show Gist options
  • Save sharl/3870264 to your computer and use it in GitHub Desktop.
Save sharl/3870264 to your computer and use it in GitHub Desktop.
PHP5.4.7/pear install Auth_RADIUS problem
# see https://bugs.php.net/bug.php?id=61983
### START HERE
pecl download radius
tar xf radius-1.2.5.tgz
cp package.xml radius-1.2.5
sed -ie 's/^function_entry radius_functions/static zend_function_entry radius_functions/' radius-1.2.5/radius.c
(cd radius-1.2.5; pecl package)
mv -f radius-1.2.5/radius-1.2.5.tgz .
pecl install radius-1.2.5.tgz
### END
pear install Auth_RADIUS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment