Single Site WordPress file-upload configuration Settings#

For single site WordPress instance, the file upload configuration can be done by changing php.ini, wp-config.php or .htaccess by as follows:


Editing /etc/php.ini file parameters

memory_limit = 100M
post_max_size =100M
file_uploads = On
upload_max_filesize = 100M

Adding the following to .htaccess file:

php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value memory_limit 100M

Adding the line before the authentication keys in 'wp-config.php' file

define('WP_MEMORY_LIMIT', '100M');

Multisite WordPress File-Upload Configuration Settings#

1- Go to the root site as superadmin user
2- Go to Network admin page, in WordPress 3.1 it should be at the top right of the admin screen.
3- Click on "Settings" in the admin panel on the left hand side of the screen.
4- Near the bottom of this page is a section called "Upload Settings". Find it.
5- There is a field for "Max Upload File Size". The units are KB.
6- Convert your intended file size into KB. (100MB = 100 * 1024 * 1024KB = 104857600KB)
   save changes at the bottom. Test the configuration.

Back to Linux

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 24-May-2017 15:30 by Hyve Support
G’day (anonymous guest) My Prefs
  • View Page Source
  • This clear IPSec security association,
    clear ipsec sa peer X.X.X.X
    

All Pages

Page views: 2240

Private Tomcat

Linux

MySQL

Email

SQL Server

ASP

JSP

C#

Web Mail

Windows Plesk

Linux Plesk

PHP

Gaming

ASP.NET

Persits ASPUpload

Wiki Help

Referring Pages:
...nobody

JSPWiki v2.8.1