Just a reminder for php settings I use.
If it helps anyone...
memory_limit = 512M
- PHP’s memory_limit is per-script, just as a highway’s speed limit is per-vehicle.
- It does not have a direct impact on the website's loading performance by itself and simply increasing it would not speed up your website.
If the value is too low for memory_limit, you will have this error :
PHP Fatal error: Allowed memory size of XXX bytes exhausted (tried to allocate XXX bytes)
post_max_size = 15M
upload_max_filesize = 10M
- upload_max_filesize is the limit of any single file.
- post_max_size is the limit of the entire body of the request, which could include multiple files.
max_execution_time = 30
No comments:
Post a Comment