Skip to content

Commit

Permalink
Updated php.ini.sample (OpenMage#2292)
Browse files Browse the repository at this point in the history
  • Loading branch information
addison74 authored and elidrissidev committed Jul 22, 2022
1 parent 1b36ca7 commit 479246d
Showing 1 changed file with 9 additions and 16 deletions.
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

0 comments on commit 479246d

Please sign in to comment.