I have a Magento store hosted on a dedicated server and to generate a PDF file in one of the platform modules you need to have the Zlib extension installed. The same is already installed, if I execute the following command in the terminal the extension appears in the listing:
php -m
However, if you execute the following command, it shows that such a module is disabled:
php -i
Among the information presented, we have this:
Directive = > Local Value = > Master Value zlib.output_compression = > Off = > Off
zlib.output_compression_level = > -1 = > -1
zlib.output_handler = > no value = > no value
I added "zlib.output_compression = On" in php.ini but nothing has changed.
In the PHP manual it says "You need to configure PHP with --with-zlib [= DIR]", however I have no idea where to run this code "--with-zlib [= DIR]"
If anyone can help me I will be very grateful, as I am looking for a solution to this for days.