What is the PHP upload limit on Linux Shared Hosting accounts?
Print this Article
Comment on this Article
Last Updated:
November 23, 2009 1:52 PM
Other than the total available disk space in your Shared hosting account, we do not set any FTP upload limit. However, by default, PHP limits scripts uploading files to 8 MB. To change the limitation, edit the following values in your /php.ini file for PHP4 or /php5.ini file for PHP5:
memory_limit = 50M
post_max_size = 10M
file_uploads = On
upload_max_filesize = 10M
post_max_size = 10M
file_uploads = On
upload_max_filesize = 10M
The above settings change your PHP upload limit, allowing you to upload files up to 10MB in size.