How to fix maximum upload and PHP memory limit issues in WordPress

How to fix maximum upload and PHP memory limit issues in WordPress