Re: enbale zlib on apache 2.2.6
| From: | Jigar Dhulla | Date: | Wed, 28 May 2014 16:42:30 +0000 |
| Subject: | Re: enbale zlib on apache 2.2.6 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323373@lists.php.net to get a copy of this message | ||
Hi,
What is the output of the following commands in console :
*root > php -v*
*root > php -m*
*root > php -i | grep zlib*
*root > php -i | grep extension_dir*
*root > php --ini*
On Wed, May 28, 2014 at 10:02 PM, Érico <ericomtx@gmail.com> wrote:
> 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 !!
>
--
Regards,
Jigar Dhulla