Edit the file php.ini, to resize the uploaded file on the server. The post_max_size directive must be slightly larger than the upload_max_filesize directive to ensure that the files are uploaded correctly. For example, the following settings demonstrate how to set the file upload limit to 100 megabytes:
upload_max_filesize = 100M post_max_size = 101MNow, what if your hosting provider won’t allow you access to the "php.ini" file?
- Download the complete project from Github .
- Use Winrar to unzip the zip file.
- Save the extracted file in the XAMPP htdocs folder.
- Start the XAMPP server.
- Now open your browser tab and type localhost / engineer / index.php or localhost / engineer into address bar. This will display the output.