Файловый менеджер - Редактировать - /etc/cl.selector.conf.d/php.conf.rpmnew
Назад
# Sign commenting is allowed only at the beginning of the line Directive = allow_url_fopen Type = bool Comment = Allows PHP file functions to retrieve data from remote locations over FTP or HTTP. This option is a great security risk, thus do not turn it on without necessity. Directive = display_errors Type = bool Comment = Determines whether errors should be printed to the screen as part of the output or if they should not be shown to a user. Directive = error_reporting Range = ~E_ALL,E_ALL & ~E_NOTICE,E_ALL,E_ALL & ~E_DEPRECATED & ~E_STRICT Type = list Comment = The error reporting level. Directive = file_uploads Type = bool Comment = Allows uploading files over HTTP. Directive = include_path Type = value Comment = The list of directories where scripts look for files (similar to system's PATH variable). To separate directories, use a colon (:) For example: .:/dir/inc:/usr/lib/php Directive = log_errors Type = bool Comment = Tells whether to log errors. By default, errors are logged in the server's error log. Use the error_log directive to specify the path to your own log file. Directive = magic_quotes_gpc Type = bool Remark = <5.4.0 Comment = Sets the magic_quotes state for the GPC (Get, Post and Cookie) operations. When magic_quotes are on, all single-quotes, double quotes, backslashesand special characters are escaped with the backslash automatically. Directive = mail.force_extra_parameters Type = value Comment = Additional parameters for the mail() function used to send mail. For example, to use your custom Sendmail configuration: -C /dir/conf.cf Directive = max_execution_time Type = value Comment = The maximum time in seconds a script is allowed to run before it is terminated. Directive = max_input_time Type = value Comment = The maximum time in seconds a script is allowed to parse input data. Directive = memory_limit Type = list Range = 64M,128M,192M,256M,368M,512M Comment = The maximum amount of memory in bytes a script is allowed to allocate. Set the value to -1 to have no memory limit (not recommended). Use shortcuts for byte values: K (kilo), M (mega), and G (giga). For example, 128M Directive = post_max_size Type = list Range = 2M,4M,8M,16M,32M,64M,128M Comment = The maximum size in bytes of data that can be posted with the POST method. Typically, should be larger than upload_max_filesize and smaller than memory_limit. Use shortcuts for byte values: K (kilo), M (mega), and G (giga). For example, 16M. Directive = open_basedir Type = value Comment = The list of directories used to limit the files that can be opened by PHP. If the file is outside the specified directories, PHP scripts will refuse to open it. To separate directories, use a colon. For example: /dir/upload:/usr/tmp Directive = register_globals Type = bool Remark = <5.4.0 Comment = Tells whether to register the contents of the EGPCS (Environment, GET, POST, Cookie, Server) variables as global variables. When on, register_globals will inject your scripts with all sorts of variables, like request variables from HTML forms. This option is a great security risk, thus do not turn it on without necessity Directive = safe_mode Type = bool Remark = <5.4.0 Comment = Enables PHP safe mode. This mode puts a number of restrictions on scripts (say, access to file system) mainly for security reasons. Directive = safe_mode_exec_dir Type = value Remark = <5.4.0 Comment = If PHP is in the safe mode, scripts can execute external programs located only in this directory. For example: /dir/external Directive = safe_mode_include_dir Type = value Remark = <5.4.0 Comment = If PHP is in the safe mode and a script tries to access some files, files from this directory will bypass security (UID/GID) checks. The directory must also be in include_path. For example: /dir/inc Directive = session.save_path Type = value Comment = The directory where PHP writes session data (files). For example: /dir/tmp Directive = short_open_tag Type = bool Comment = Allows the short form of the PHP open tag. Directive = upload_max_filesize Type = list Range = 2M,4M,8M,16M,32M,64M,128M,256M,512M,1G Comment = The maximum size in bytes of an uploaded file. Use shortcuts for byte values: K (kilo), M (mega), and G (giga). For example, 128M.
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка