PHPの設定:
max_execution_time
memory_limit
post_max_size
upload_max_filesize
Apacheの設定:
LimitRequestBody
max_execution_timeとmemory_limitは個々のphpファイルで設定可能。.htaccessでも設定可能。(PHP_INI_ALL)
post_max_sizeとupload_max_filesizeはphpファイルでは設定できない。.htaccessなら設定可能。(PHP_INI_PERDIR)
LimitRequestBodyは.htaccessで設定可能だけどphp_valueではないので注意。
【参考URL】
https://www.php.net/manual/ja/ini.list.php
https://www.php.net/manual/ja/configuration.changes.modes.php