Increasing PHP upload limit

By default the maximum file size you can upload via PHP is 2MB, but sometimes this isn't enough. Fortunately you can change the PHP settings on your account to get round this using a php.ini file and the following command:

upload_max_filesize = 8M

You can of course change the maximum upload value to anything you like, you are limited only by your visitor's internet connection speed and browser.

More information on php.ini files and instructions for creating them can be found in Changing PHP Settings.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Executing PHP scripts in a cron job

Using a cron job is a great way to automatically perform a task at regular intervals all the way...

Checking PHP Settings

You can check the PHP settings for your account, or a particular directory in your account using...

Changing PHP Settings - Advanced

Our PHP configuration has been set to allow as many scripts as possible to run, but there are...

SSH Access

Secure Shell Handler is a command-line interface to the server, the majority of tasks possible...

Unique IP Address

Every computer connected to the internet has a unique IP address, this is a unique number that...

Powered by WHMCompleteSolution