Adjusting the file upload or post size

If you are using a PHP script and want to increase the "post size" or the "size of a file I can upload", then you want to adjust your settings in php.ini.

  1. Locate your php.ini file. If you do not have one or know where to look, please read the related article to learn more about php.ini.
  2. Edit that file and locate the "upload_max_filesize" and "post_max_size" settings.
  3. The values to the right of the = (equal sign) need to be increased.
  4. Save and enjoy.
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to use sendmail with PHP

Here is the magical line of code which tells PHP to send an email through your mail server....

403 Forbidden or No Permission to Access

The top reasons for this error are permissions or .htaccess error. Permissions The 403...

404 error page

404 means the file is not found. If you already uploaded the file, then either the name is...

How to find the correct spelling and path for your files, missing images

When you get a 404 error, check the URL in your browser. This tells you the path and file name...

allow_url_fopen, how to enable

This can be done via your php.ini file by adding the following line: allow_url_fopen = On The...