Not sure what you mean? gzip or deflate can happen from PHP or Apache.  Apache can compress static text files (html, css, js etc).  What was removed from your site was compression of dynamic files (php).  

In order to cmpress PHP files you have to buffer the content before it gets sent out (which is what ob_start() etc... was for).