Locate the php.ini file in the php file in the D:\xampp\php directory, and open it with WordPad:
1. Findpost_max_size, which is the maximum value that can be received by post to PHP via the form, including all values in the form, by default, 8M, to see if you need to change.
2, find the file uploads, first confirmfile_uploads= on; whether to allow the switch to upload files over HTTP, the default is on is on. Upload_tmp_dir;
3. Findupload_max_filesize; that is, the maximum size allowed for uploading files. The default is 2M.
4, if you want to upload >8m files, then only set the above four items can not be certain. It is best to set the following parameters as well:
FindMax_execution_time= 600; The maximum time value (in seconds) for each PHP page to run, the default is 30 seconds.
Max_input_time= 600; The maximum time required for each PHP page to receive data, the default is 60 seconds.
Memory_limit= 8M; The maximum memory eaten by each PHP page, the default 8M.
SugarCRM installation process--php File upload limit issues