Some updates to php purging