Глобальные параметры php.ini для всех версий Alt-PHP
Форум
  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:
  1. 30.05.2017 08:05:20
  2. # 1
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
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.html?configuring_global_php_ini_opt.html
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
гость
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.