2
I have a Magento store hosted on a dedicated server and to generate a PDF file in one of the platform modules it is necessary to have installed the Zlib extension. It is already installed, if I execute the following command in the terminal the extension appears in the list:
php -m
But if you execute the following command, it shows that the 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 set up PHP with --with-zlib[=DIR]", but I have no idea where to run this code "-with-zlib[=DIR]"
If anyone can help me I will be very grateful, because I am looking for a solution to this for days.
Tried restarting the server? oo
– Wallace Maxters
Managed to solve your problem?
– durtto