Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Wordpress media upload file limit

Featured Replies

Hi guys.

 

I have a few queries about the upload limit associated with Wordpress.

 

I have a website with JustHost on shared hosting. The max file size for media uploads using Wordpress was 2MB. I contacted my hosting company and they have informed me that they have increased my upload limit to 10MB. It does say this in the php.ini file on my domain, but Wordpress says I have a limit of 8MB?

 

Also I use WAMP as a local server to test my Wordpress websites. How can I increase the max file upload on the local server?

 

I have read through lots of webpages and tried altering the php.ini file and htaccess file but I still get hit with a limit of 2MB on the local server.

 

Is there anything else I should try to increase my upload file limit?

 

Any help greatly appreciated :)

In the php.ini file there is often a post_max_size declaration as well which may be set to 8M. Ask your host to change this as well as the upload_max_size.

 

I'm not on my Windows machine at the moment, but right click on the WAMP icon in the system tray and find the php.ini file. You can search for the declarations as above and increase the default values. You also need to restart the servers and you should be able to upload bigger files!

  • Author

In the php.ini file there is often a post_max_size declaration as well which may be set to 8M. Ask your host to change this as well as the upload_max_size.

 

I'm not on my Windows machine at the moment, but right click on the WAMP icon in the system tray and find the php.ini file. You can search for the declarations as above and increase the default values. You also need to restart the servers and you should be able to upload bigger files!

 

I have found the php.ini file in WAMP and put in the following code.

 

; Maximum allowed size for uploaded files.

upload_max_filesize = 8M

 

; Maximum size of POST data that PHP will accept.

post_max_size = 8M

 

 

I restarted WAMP but still limited to 2MB. Is the above code all thats needed in php.ini or should there be more there?

 

Cheers.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.