removed pear libs not in use
fixed permissions