Fixing assorted issues with the pear and pecl providers and standardizing them.