FileUploadIcon

PHP Max Upload Size

$5

Category: , . Tags: , .

Product Description

PHP has a size limit that controls how large of a file you can upload. Many people wind up bumping into that limit when the attempt to upload large files. For example, big images, long audio files, or large video files. When you try to exceed the limit PHP will generate an error.

Sometimes there’s nothing you can do about that because of restrictions imposed by your hosting company. But, sometimes you can get around that problem with a little help. What needs to be done is to raise PHP’s max_upload_size value. But since you might not have access to the PHP configuration on your server how can you raise that limit?

There are two possible answers. First the hard way: If your hosting company allows it, install a customizable copy of PHP and adjust the settings in the php.ini file as you see fit. Of course doing that requires a lot of expertise. The majority of people don’t want to bother with doing that.

Now for the easy way: Use program code to adjust PHP settings. In many cases this works, but in some cases it doesn’t because some hosting company prohibit program code from changing PHP settings. But it’s worth a try! Donate and get a copy of our PHP Max Upload Settings plugin. Then simply install the plugin and activate it. That’s are there is to it.

What the plugin does it is make three adjustments. The first one changes the maximum file upload size allowed to 100MB, the second one changes the maximum size of POST fields values (for forms that might contain a lot of data) to 105MB, and the last one sets the maximum script execution time to 5 minutes (300 seconds) for situations where your site might have to do a lot of work before a script finishes. Those latter two changes probably aren’t necessary for most sites, but there they are just in case you need them

Additional Information

Reviews

There are no reviews yet, would you like to submit yours?

Be the first to review “PHP Max Upload Size”