Global php.ini Options for all Alt-PHP Versions
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Morten
  2. Monday, 29 May 2017
  3.  Subscribe via email
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 don't 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 it's 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?
Rate this post:


There are replies in this post but you are not allowed to view the replies from this post.
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.