I have a php page with php info and in Phar info it is showing : gzip compression => disabled(install ext/zlib) I do have zlib installed in my local environment but not under /usr/local how can I set my php.ini so my environment can recognize it ? I have added zlib.so desc into php.ini .. extension_dir=path_to_so extension=zlib.so also I have a php page ... with the content : $extensions = get_loaded_extentions(); ... this shows all extensions configured ... zlib is not listed on it ... Thks !!