Increase the PHP File Upload Limit
To increase the allowed file size for uploads through PHP, follow these steps:
-
Edit the php.ini file in the php/ subdirectory of your XAMPP installation directory (usually, C:\xampp). Within this file, find the post_max_size and upload_max_filesize variables and change them to reflect the new file upload limit. For example, to restrict uploads to not more than 16M, change these variables as shown below:
; Maximum size of POST data that PHP will accept. ; http://php.net/post-max-si