Fix configure errors when building on 10.9 Mavericks
Fatal if PHP is built with Apache in Mavericks.
Fix PEAR install error with PHP5.3 and Mavericks.