[BlueOnyx:21465] Re: 5209R additional php flag

Dirk Estenfeld dirk.estenfeld at blackpoint.de
Tue Oct 3 14:44:47 -05 2017


Michael,

thank you for your email.
But an additional ini File with 

php_admin_flag zlib.output_compression On

is not added to the site<number> file and not to the /etc/php-fpm config file.
Please try it for your own.

php_flag zlib.output_compression On

is added but have no effect.
Please try, maybe it is a bug or I am blind.

Best regards,
Dirk


---

blackpoint GmbH - Friedberger Straße 106b - 61118 Bad Vilbel

-----Ursprüngliche Nachricht-----
Von: Blueonyx [mailto:blueonyx-bounces at mail.blueonyx.it] Im Auftrag von Michael Stauber
Gesendet: Dienstag, 3. Oktober 2017 17:58
An: blueonyx at mail.blueonyx.it
Betreff: [BlueOnyx:21464] Re: 5209R additional php flag

Hi Dirk,

php_admin_flag vs. php_flag:

In general the difference between these two is: If you set something via
"php_admin_flag", then someone cannot override it in an .htaccess or in
the code itself via PHP ini_set.

But it also goes deeper: Certain configurational parameters cannot be
set via "php_flag" or "php_value" and instead require either
"php_admin_flag" or "php_admin_value".

I don't know which is the correct one for Zlib, but I suppose either one
might work and php_admin_flag might be the better choice.

> So can you please add the possibility to add php_admin_flag zlib.output_compression On via the *.ini file in the php.d directory?

You can already do that. We just parse php.d for the *.ini files and
resolve conflicts between different *.ini's trying to turn the same
things on or off. We don't really check if the specified parameters in
the *.ini's make sense.

Once you placed a custom *.ini file into the php.d directory of a Vsite,
did you trigger the rebuild of the configs of that Vsite by hitting
"Save" in "Services" / "Web" of that Vsite?

-- 
With best regards

Michael Stauber
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list