Fixes for PHP configuration on Production server