I think its not related to bug #411982 The error persists after a # dpkg -r php5-curl php5-pgsql and apachectl restart