generalizing the instalation of php modules (through pear)

fixes #257

Signed-off-by: Matthew Thode <mthode@mthode.org>