Announcement

Collapse
No announcement yet.

Global php.ini Options for all Alt-PHP Versions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Global php.ini Options for all Alt-PHP Versions

    Hello,

    I found out today that you have removed all entries in:
    /etc/cl.selector/global_php.ini

    But only on EA3 servers:

    > ; This file provides global settings for php.ini of all alt-php packages
    > ; The structure of this file:
    > ; option = value
    > ; To confirm changes (not affecting "date.timezone" and "error_log" options) please run:
    > ; /usr/sbin/cagefsctl --setup-cl-selector
    > ; To confirm changes (including "date.timezone" and "error_log" options) please run:
    > ; /usr/bin/selectorctl --apply-global-php-ini
    > ; or
    > ; /usr/sbin/cagefsctl --apply-global-php-ini
    > ; If you dont want to change error_log, but want to change date.timezone, you can execute
    > ; selectorctl --apply-global-php-ini date.timezone
    > ; Similarly, command
    > ; selectorctl --apply-global-php-ini error_log
    > ; applies error_log and all other options specified in /etc/cl.selector/global_php.ini file, except date.timezone.
    > ; So, you can specify 0, 1 or 2 parameters from the list: error_log, date.timezone
    > ; using --apply-global-php-ini without arguments applies all global php options including two above
    > ; Example:
    > ; selectorctl --apply-global-php-ini error_log
    > ; selectorctl --apply-global-php-ini date.timezone
    > ; selectorctl --apply-global-php-ini date.timezone error_log
    > ; The latter command has the same effect as /usr/bin/selectorctl --apply-global-php-ini
    > [Global PHP Settings]

    Why was this done?

    Checking EA4 server its still fine:

    > ; This file provides global settings for php.ini of all alt-php packages
    > ; The structure of this file:
    > ; option = value
    > ; To confirm changes please run:
    > ; /usr/sbin/cagefsctl --setup-cl-selector
    > [Global PHP Settings]
    > max_input_vars = 10000;
    > memory_limit = 512M;
    > post_max_size = 50M;
    > upload_max_filesize = 50M;
    > expose_php = Off
    > allow_url_fopen = On
    > date.timezone = "Europe/Berlin"

    Will you remove this from EA4 also?

  • #2
    Hi,

    We do not remove that file with any updates. I suppose it was blank on EA3 server.

    Overall global ini schema has been changed since CageFS 6.0.33 , mostly regarding applying directives. See more: http://docs.cloudlinux.com/index.htm...p_ini_opt.html

    Comment

    Working...
    X