Add php5 support for postgresql