How to Increase Maximum Upload File Size in WordPress | Increase Upload Max File Size

Опубликовано: 25 Ноябрь 2022
на канале: Enablewebsitedesign
11
0

How to Increase Maximum Upload File Size in WordPress | Increase Upload Max File Size
1. Increase Upload Size Limit in php.ini

The first method is to edit the php.ini file, which is the main configuration file for your server and PHP application.

To increase the maximum upload size in WordPress, you need to locate and edit the upload_max_filesize and post_max_size values.

These values are usually found in the /etc/php/ directory on your server.

2. Increase Upload Size Limit in .htaccess

The second method is to edit the .htaccess file on your server.

To increase the maximum upload size in WordPress, you need to add the following line of code in your .htaccess file:

php_value upload_max_filesize 64M

php_value post_max_size 64M

Replace 64M with the maximum upload size you want to allow.

3. Increase Upload Size Limit in wp-config.php

The third method is to edit the wp-config.php file on your server.