This video tutorial will explain: How to Increase PHP Memory Limit, Max Post Size & Upload Max Filesize in WordPress.
If you want to improve the performance of your WordPress site, then this tutorial is for you!
Copy & Paste the below code in your php.ini file and Save it:
max_input_time = 60
max_execution_time = 120
upload_max_filesize = 64M
post_max_size = 64m
memory_limit = 256M
expose_php = off
Be aware that the last one is a security thing! It’s secure to not expose your php, so keep it as it is!