Viewing: php.conf.rpmsave
# Sign commenting is allowed only at the beginning of the line Directive = allow_url_fopen Default = On 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 = allow_url_include Default = Off Type = bool Comment = Allows PHP include and require functions to use remote locations over FTP or HTTP. This option is an enormous security risk, thus do not turn it on without necessity. Directive = date.timezone Default = America/Detroit Type = value Comment = Change your PHP's timezone Directive = display_errors Default = On 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 Default = E_ALL & ~E_NOTICE Range = ~E_ALL,E_ALL & ~E_NOTICE,E_ALL & ~E_NOTICE & ~E_STRICT,E_ALL,E_ALL & ~E_DEPRECATED & ~E_NOTICE Type = list Comment = The error reporting level. Directive = file_uploads Default = On Type = bool Comment = Allows uploading files over HTTP. Directive = include_path Default = .;/path/to/php/pear 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 Default = Off 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 = error_log Default = Type = value Comment = Specify a location for the PHP error log if log_errors is enabled. Directive = magic_quotes_gpc Default = On 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 Default = 300 Range = 300,360,420 Type = list Comment = The maximum time in seconds a script is allowed to run before it is terminated. Directive = max_input_time Default = 90 Range = 90,120,150 Type = list Comment = The maximum time in seconds a script is allowed to parse input data. Directive = max_input_vars Default = 6000 Type = value Comment = The maximum time in seconds a script is allowed to parse input data. Directive = memory_limit Default = 2G Type = list Range = 64M,128M,192M,256M,368M,512M,768M,1G,2G,3G,4G 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 Default = 128M Type = list Range = 2M,4M,8M,16M,32M,64M,128M,256M,512M,1G,2G 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 Default = Off 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 Default = Off 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 Default = /tmp Type = value Comment = The directory where PHP writes session data (files). For example: /dir/tmp Directive = short_open_tag Default = On Type = bool Comment = Allows the short form of the PHP open tag. Directive = upload_max_filesize Default = 128M 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. Directive = disable_functions Default = Type = value Comment = This directive allows you to disable certain functions for security reasons. It takes on a comma-delimited list of function names. Directive = expose_php Default = On Type = bool Comment = Exposes to the world that PHP is installed on the server, which includes the PHP version within the HTTP header Directive = max_file_uploads Default = 20 Type = list Range = 20,50,75 Comment = The maximum number of files allowed to be uploaded simultaneously Directive = zlib.output_compression Default = Off Type = bool Comment = The zlib extension offers the option to transparently compress your pages on-the-fly, if the requesting browser supports this. Directive = always_populate_raw_post_data Default = -1 Remark = 5.6.26 Type = list Range = -1,0,1 Comment = Whether PHP populates the deprecated HTTP_RAW_POST_DATA predefined variable. 1 is enabled, 0 is disabled, and -1 (default) is disabled with warnings suppressed. Directive = session.gc_maxlifetime Default = 1440 Type = value Comment = The number of seconds after which data will be seen as 'garbage' and potentially cleaned up. Directive = output_buffering Default = 4096 Type = value Comment = Enable or disable (0) PHP output buffering. If you wish to limit the size of the buffer to a certain size - you can use a maximum number of bytes, as a value for this directive (e.g., output_buffering=4096) Directive = upload_tmp_dir Type = value Comment = The temporary directory used for storing files when doing file upload.
Return