Logo Pupungbp.com

Need a WordPress expert help?

Increase PHP Upload Size Limitation

Last Updated: August 19, 2014 | Reading Time: < 1 minute

Every server running has limitations including file upload, If you need to upload bigger file, you need to adjust PHP settings. If you are running web server on Linux, mostly you can search the settings file on /etc/php5/apache2/php.ini if your web server running on Windows(xampp/wampp) mostly you’ll find it on \wamp\bin\php\php5.4.12\php.ini Just open that file with plain text editor. Do a search for upload_max_filesize and post_max_size

Here’s the end result for my setting’s file:
[shell]
; Maximum size of POST data that PHP will accept.
; php.net/post-max-size
post_max_size = 50M
[/shell]

and

[shell]
; Maximum allowed size for uploaded files.
; php.net/upload-max-filesize
upload_max_filesize = 50M
[/shell]

You need to reload / restart the Apache’s service after that.
[shell]
pupungbp@whiterose:/etc/init.d/apache2 reload
[/shell]

Test the upload now.

Looking for an affordable WordPress solution?

We offer budget-friendly WordPress website development services to meet your needs. Prices start at $10.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.