PHP configuration fixes.
Merge pull request #2795 from mrunalp/stg/php_config_issues

Merged by openshift-bot