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 = 512M
post_max_size = 8M post_max_size = 32M
upload_max_filesize = 2M upload_max_filesize = 32M
session.gc_maxlifetime = 1440 session.gc_maxlifetime = 86400

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