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.sample #2292

Merged
merged 1 commit into from
Jul 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 9 additions & 16 deletions php.ini.sample
Original file line number Diff line number Diff line change
@@ -1,38 +1,31 @@
; This file is for CGI/FastCGI installations.
; Try copying it to php5.ini, if it doesn't work
; This file is for CGI/FastCGI installations
; Try copying it to php7.ini or php8 if it doesn't work

; adjust memory limit
; Adjust memory limit

memory_limit = 64M

max_execution_time = 18000

; disable magic quotes for php request vars
; Disable magic quotes for PHP request vars

magic_quotes_gpc = off

; disable automatic session start
; before autoload was initialized
; Disable automatic session start before autoload was initialized

flag session.auto_start = off

; enable resulting html compression
; Enable resulting html compression

zlib.output_compression = on

; disable user agent verification to not break multiple image upload
; Disable user agent verification to not break multiple image upload

suhosin.session.cryptua = off

; turn off compatibility with PHP4 when dealing with objects

zend.ze1_compatibility_mode = off

; PHP for some reason ignores this setting in system php.ini
; and disables mcrypt if this line is missing in local php.ini
; If this line is missing in local php.ini for some reason PHP ignores this setting in system php.ini and disables mcrypt

extension=mcrypt.so

; Disable PHP errors, notices and warnings output in production mode to prevent exposing sensitive information.
; Disable PHP errors, notices and warnings output in production mode to prevent exposing sensitive information

display_errors = Off