Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tech:linux:php_ini [2020/02/01 06:27] (current)
Line 1: Line 1:
 +====== Recommended php.ini Settings ======
 +The default php.ini settings are quite narrow. ​ Considering today'​s server'​s memory, CPU, storage, etc, the first thing in a default install is to improve upon these. ​ None of these should affect existing application,​ especially if you are increasing the resources (which is the case here)
 +^ Default Settings ​               ^  New Settings ^
 +| max_execution_time = 30         ​| ​ max_execution_time = 60 |
 +| max_input_time = 60             ​| ​ max_input_time = 90 |
 +| memory_limit = 128M             ​| ​ memory_limit = 256M |
 +| post_max_size = 8M              |  post_max_size = 32M |
 +| upload_max_filesize = 2M        |  upload_max_filesize = 32M |
 +| session.gc_maxlifetime = 1440   ​| ​ session.gc_maxlifetime = 6000 |
  

QR Code
QR Code tech:linux:php_ini (generated for current page)