Re: enbale zlib on apache 2.2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux