Today I will show you how to solve the uploaded file exceeds the upload_max_filesize directive in php.ini. error in wordpress website:
You can solve it by Using the .htaccess method. The .htaccess file Located in the root directory, Modifying that .htaccess file you can increase the maximum upload size in WordPress. Edit the .htaccess file in your WordPress site’s root folder and add the following code:
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
Simply Copy the above code and paste it to the .htaccess file and save . Thats it!