Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update php.ini according to ee3 #81

Merged
merged 1 commit into from May 3, 2019

Conversation

2 participants
@mrrobot47
Copy link
Contributor

commented May 2, 2019

I found the following PHP ini setting in EE3:
Have updated the current php.ini according to this. Please comment if any changes is required in this.

Array
(
    [allow_url_fopen] => 1
    [allow_url_include] => 
    [always_populate_raw_post_data] => 0
    [arg_separator.input] => &
    [arg_separator.output] => &
    [asp_tags] => 
    [assert.active] => 1
    [assert.bail] => 0
    [assert.callback] => 
    [assert.quiet_eval] => 0
    [assert.warning] => 1
    [auto_append_file] => 
    [auto_detect_line_endings] => 0
    [auto_globals_jit] => 1
    [auto_prepend_file] => 
    [bcmath.scale] => 0
    [browscap] => 
    [cgi.discard_path] => 0
    [cgi.fix_pathinfo] => 1
    [cgi.force_redirect] => 1
    [cgi.nph] => 0
    [cgi.redirect_status_env] => 
    [cgi.rfc2616_headers] => 0
    [cli.pager] => 
    [cli.prompt] => \b \> 
    [curl.cainfo] => 
    [date.default_latitude] => 31.7667
    [date.default_longitude] => 35.2333
    [date.sunrise_zenith] => 90.583333
    [date.sunset_zenith] => 90.583333
    [date.timezone] => UTC
    [default_charset] => UTF-8
    [default_mimetype] => text/html
    [default_socket_timeout] => 60
    [disable_classes] => 
    [disable_functions] => pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
    [display_errors] => 
    [display_startup_errors] => 
    [doc_root] => 
    [docref_ext] => 
    [docref_root] => 
    [enable_dl] => 
    [enable_post_data_reading] => 1
    [error_append_string] => 
    [error_log] => 
    [error_prepend_string] => 
    [error_reporting] => 22527
    [exif.decode_jis_intel] => JIS
    [exif.decode_jis_motorola] => JIS
    [exif.decode_unicode_intel] => UCS-2LE
    [exif.decode_unicode_motorola] => UCS-2BE
    [exif.encode_jis] => 
    [exif.encode_unicode] => ISO-8859-15
    [exit_on_timeout] => 0
    [expose_php] => 
    [extension_dir] => /usr/lib/php/20131226
    [fastcgi.error_header] => 
    [fastcgi.logging] => 1
    [file_uploads] => 1
    [filter.default] => unsafe_raw
    [filter.default_flags] => 
    [fpm.config] => 
    [from] => 
    [gd.jpeg_ignore_warning] => 0
    [highlight.comment] => #FF8000
    [highlight.default] => #0000BB
    [highlight.html] => #000000
    [highlight.keyword] => #007700
    [highlight.string] => #DD0000
    [html_errors] => 1
    [iconv.input_encoding] => 
    [iconv.internal_encoding] => 
    [iconv.output_encoding] => 
    [igbinary.compact_strings] => 1
    [ignore_repeated_errors] => 
    [ignore_repeated_source] => 
    [ignore_user_abort] => 0
    [imagick.locale_fix] => 0
    [imagick.progress_monitor] => 0
    [imagick.skip_version_check] => 1
    [implicit_flush] => 
    [include_path] => .:/usr/share/php
    [input_encoding] => 
    [internal_encoding] => 
    [log_errors] => 1
    [log_errors_max_len] => 1024
    [mail.add_x_header] => 1
    [mail.force_extra_parameters] => 
    [mail.log] => 
    [max_execution_time] => 300
    [max_file_uploads] => 20
    [max_input_nesting_level] => 64
    [max_input_time] => 60
    [max_input_vars] => 1000
    [mbstring.detect_order] => 
    [mbstring.encoding_translation] => 0
    [mbstring.func_overload] => 0
    [mbstring.http_input] => 
    [mbstring.http_output] => 
    [mbstring.http_output_conv_mimetypes] => ^(text/|application/xhtml\+xml)
    [mbstring.internal_encoding] => 
    [mbstring.language] => neutral
    [mbstring.strict_detection] => 0
    [mbstring.substitute_character] => 
    [mcrypt.algorithms_dir] => 
    [mcrypt.modes_dir] => 
    [memcache.allow_failover] => 1
    [memcache.chunk_size] => 32768
    [memcache.compress_threshold] => 20000
    [memcache.default_port] => 11211
    [memcache.hash_function] => crc32
    [memcache.hash_strategy] => consistent
    [memcache.lock_timeout] => 15
    [memcache.max_failover_attempts] => 20
    [memcache.protocol] => ascii
    [memcache.redundancy] => 1
    [memcache.session_redundancy] => 2
    [memcached.compression_factor] => 1.3
    [memcached.compression_threshold] => 2000
    [memcached.compression_type] => fastlz
    [memcached.serializer] => php
    [memcached.sess_binary] => 0
    [memcached.sess_connect_timeout] => 1000
    [memcached.sess_consistent_hash] => 0
    [memcached.sess_lock_expire] => 0
    [memcached.sess_lock_max_wait] => 0
    [memcached.sess_lock_wait] => 150000
    [memcached.sess_locking] => 1
    [memcached.sess_number_of_replicas] => 0
    [memcached.sess_prefix] => memc.sess.key.
    [memcached.sess_randomize_replica_read] => 0
    [memcached.sess_remove_failed] => 0
    [memcached.sess_sasl_password] => 
    [memcached.sess_sasl_username] => 
    [memcached.store_retry_count] => 2
    [memcached.use_sasl] => 0
    [memory_limit] => 128M
    [msgpack.error_display] => 1
    [msgpack.illegal_key_insert] => 0
    [msgpack.php_only] => 1
    [msgpack.use_str8_serialization] => 1
    [mysql.allow_local_infile] => 1
    [mysql.allow_persistent] => 1
    [mysql.connect_timeout] => 60
    [mysql.default_host] => 
    [mysql.default_password] => 
    [mysql.default_port] => 
    [mysql.default_socket] => 
    [mysql.default_user] => 
    [mysql.max_links] => -1
    [mysql.max_persistent] => -1
    [mysql.trace_mode] => 
    [mysqli.allow_local_infile] => 1
    [mysqli.allow_persistent] => 1
    [mysqli.default_host] => 
    [mysqli.default_port] => 3306
    [mysqli.default_pw] => 
    [mysqli.default_socket] => 
    [mysqli.default_user] => 
    [mysqli.max_links] => -1
    [mysqli.max_persistent] => -1
    [mysqli.reconnect] => 
    [mysqli.rollback_on_cached_plink] => 0
    [mysqlnd.collect_memory_statistics] => 
    [mysqlnd.collect_statistics] => 1
    [mysqlnd.debug] => 
    [mysqlnd.fetch_data_copy] => 0
    [mysqlnd.log_mask] => 0
    [mysqlnd.mempool_default_size] => 16000
    [mysqlnd.net_cmd_buffer_size] => 4096
    [mysqlnd.net_read_buffer_size] => 32768
    [mysqlnd.net_read_timeout] => 31536000
    [mysqlnd.sha256_server_public_key] => 
    [mysqlnd.trace_alloc] => 
    [opcache.blacklist_filename] => 
    [opcache.consistency_checks] => 0
    [opcache.dups_fix] => 0
    [opcache.enable] => 1
    [opcache.enable_cli] => 0
    [opcache.enable_file_override] => 0
    [opcache.error_log] => 
    [opcache.fast_shutdown] => 0
    [opcache.file_update_protection] => 2
    [opcache.force_restart_timeout] => 180
    [opcache.inherited_hack] => 1
    [opcache.interned_strings_buffer] => 4
    [opcache.load_comments] => 1
    [opcache.lockfile_path] => /tmp
    [opcache.log_verbosity_level] => 1
    [opcache.max_accelerated_files] => 2000
    [opcache.max_file_size] => 0
    [opcache.max_wasted_percentage] => 5
    [opcache.memory_consumption] => 64
    [opcache.optimization_level] => 0x7FFFBFFF
    [opcache.preferred_memory_model] => 
    [opcache.protect_memory] => 0
    [opcache.restrict_api] => 
    [opcache.revalidate_freq] => 2
    [opcache.revalidate_path] => 0
    [opcache.save_comments] => 1
    [opcache.use_cwd] => 1
    [opcache.validate_permission] => 0
    [opcache.validate_root] => 0
    [opcache.validate_timestamps] => 1
    [open_basedir] => 
    [openssl.cafile] => 
    [openssl.capath] => 
    [output_buffering] => 4096
    [output_encoding] => 
    [output_handler] => 
    [pcre.backtrack_limit] => 1000000
    [pcre.recursion_limit] => 100000
    [pdo_mysql.default_socket] => /var/run/mysqld/mysqld.sock
    [phar.cache_list] => 
    [phar.readonly] => 1
    [phar.require_hash] => 1
    [post_max_size] => 100M
    [precision] => 14
    [realpath_cache_size] => 16K
    [realpath_cache_ttl] => 120
    [redis.arrays.autorehash] => 
    [redis.arrays.connecttimeout] => 
    [redis.arrays.distributor] => 
    [redis.arrays.functions] => 
    [redis.arrays.hosts] => 
    [redis.arrays.index] => 
    [redis.arrays.lazyconnect] => 
    [redis.arrays.names] => 
    [redis.arrays.pconnect] => 
    [redis.arrays.previous] => 
    [redis.arrays.readtimeout] => 
    [redis.arrays.retryinterval] => 
    [redis.clusters.persistent] => 
    [redis.clusters.read_timeout] => 
    [redis.clusters.seeds] => 
    [redis.clusters.timeout] => 
    [redis.session.lock_expire] => 
    [redis.session.lock_retries] => 
    [redis.session.lock_wait_time] => 
    [redis.session.locking_enabled] => 
    [register_argc_argv] => 
    [report_memleaks] => 1
    [report_zend_debug] => 1
    [request_order] => GP
    [sendmail_from] => 
    [sendmail_path] => /usr/sbin/sendmail -t -i 
    [serialize_precision] => 17
    [session.auto_start] => 0
    [session.cache_expire] => 180
    [session.cache_limiter] => nocache
    [session.cookie_domain] => 
    [session.cookie_httponly] => 
    [session.cookie_lifetime] => 0
    [session.cookie_path] => /
    [session.cookie_secure] => 
    [session.entropy_file] => /dev/urandom
    [session.entropy_length] => 32
    [session.gc_divisor] => 1000
    [session.gc_maxlifetime] => 1440
    [session.gc_probability] => 0
    [session.hash_bits_per_character] => 5
    [session.hash_function] => 0
    [session.name] => PHPSESSID
    [session.referer_check] => 
    [session.save_handler] => files
    [session.save_path] => /var/lib/php/sessions
    [session.serialize_handler] => php
    [session.upload_progress.cleanup] => 1
    [session.upload_progress.enabled] => 1
    [session.upload_progress.freq] => 1%
    [session.upload_progress.min_freq] => 1
    [session.upload_progress.name] => PHP_SESSION_UPLOAD_PROGRESS
    [session.upload_progress.prefix] => upload_progress_
    [session.use_cookies] => 1
    [session.use_only_cookies] => 1
    [session.use_strict_mode] => 0
    [session.use_trans_sid] => 0
    [short_open_tag] => 
    [SMTP] => localhost
    [smtp_port] => 25
    [soap.wsdl_cache] => 1
    [soap.wsdl_cache_dir] => /tmp
    [soap.wsdl_cache_enabled] => 1
    [soap.wsdl_cache_limit] => 5
    [soap.wsdl_cache_ttl] => 86400
    [sql.safe_mode] => 
    [sys_temp_dir] => 
    [track_errors] => 
    [unserialize_callback_func] => 
    [upload_max_filesize] => 100M
    [upload_tmp_dir] => 
    [url_rewriter.tags] => a=href,area=href,frame=src,input=src,form=fakeentry
    [user_agent] => 
    [user_dir] => 
    [user_ini.cache_ttl] => 300
    [user_ini.filename] => .user.ini
    [variables_order] => GPCS
    [xdebug.auto_trace] => 0
    [xdebug.cli_color] => 0
    [xdebug.collect_assignments] => 0
    [xdebug.collect_includes] => 1
    [xdebug.collect_params] => 0
    [xdebug.collect_return] => 0
    [xdebug.collect_vars] => 0
    [xdebug.coverage_enable] => 1
    [xdebug.default_enable] => 1
    [xdebug.dump.COOKIE] => 
    [xdebug.dump.ENV] => 
    [xdebug.dump.FILES] => 
    [xdebug.dump.GET] => 
    [xdebug.dump.POST] => 
    [xdebug.dump.REQUEST] => 
    [xdebug.dump.SERVER] => 
    [xdebug.dump.SESSION] => 
    [xdebug.dump_globals] => 1
    [xdebug.dump_once] => 1
    [xdebug.dump_undefined] => 0
    [xdebug.extended_info] => 1
    [xdebug.file_link_format] => 
    [xdebug.force_display_errors] => 0
    [xdebug.force_error_reporting] => 0
    [xdebug.halt_level] => 0
    [xdebug.idekey] => 
    [xdebug.max_nesting_level] => 256
    [xdebug.max_stack_frames] => -1
    [xdebug.overload_var_dump] => 2
    [xdebug.profiler_aggregate] => 0
    [xdebug.profiler_append] => 0
    [xdebug.profiler_enable] => 0
    [xdebug.profiler_enable_trigger] => 1
    [xdebug.profiler_enable_trigger_value] => 
    [xdebug.profiler_output_dir] => /tmp/
    [xdebug.profiler_output_name] => cachegrind.out.%p-%H-%R
    [xdebug.remote_addr_header] => 
    [xdebug.remote_autostart] => 0
    [xdebug.remote_connect_back] => 0
    [xdebug.remote_cookie_expire_time] => 3600
    [xdebug.remote_enable] => 0
    [xdebug.remote_handler] => dbgp
    [xdebug.remote_host] => localhost
    [xdebug.remote_log] => 
    [xdebug.remote_mode] => req
    [xdebug.remote_port] => 9000
    [xdebug.scream] => 0
    [xdebug.show_error_trace] => 0
    [xdebug.show_exception_trace] => 0
    [xdebug.show_local_vars] => 0
    [xdebug.show_mem_delta] => 0
    [xdebug.trace_enable_trigger] => 0
    [xdebug.trace_enable_trigger_value] => 
    [xdebug.trace_format] => 0
    [xdebug.trace_options] => 0
    [xdebug.trace_output_dir] => /tmp
    [xdebug.trace_output_name] => trace.%c
    [xdebug.var_display_max_children] => 128
    [xdebug.var_display_max_data] => 512
    [xdebug.var_display_max_depth] => 3
    [xmlrpc_error_number] => 0
    [xmlrpc_errors] => 0
    [xsl.security_prefs] => 44
    [zend.detect_unicode] => 1
    [zend.enable_gc] => 1
    [zend.multibyte] => 0
    [zend.script_encoding] => 
    [zlib.output_compression] => 
    [zlib.output_compression_level] => -1
    [zlib.output_handler] => 
)
Update php.ini according to ee3
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>

@mrrobot47 mrrobot47 requested review from radhe and mbtamuli May 2, 2019

@mrrobot47 mrrobot47 self-assigned this May 2, 2019

@mrrobot47 mrrobot47 added this to In progress in v4 Maintenance Releases via automation May 2, 2019

@radhe

This comment has been minimized.

Copy link

commented May 2, 2019

I am not sure how to review this.
How to compare it with EE3?
Can you advice.

@mrrobot47 mrrobot47 merged commit f3c223d into EasyEngine:develop May 3, 2019

1 check passed

WIP Ready for review
Details

v4 Maintenance Releases automation moved this from In progress to Done May 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.