Why can't I upload large files in Taskify?

Why can't I upload large files in Taskify?

Answer: Increase your PHP and server upload limits. You need to modify upload_max_filesize, post_max_size, and max_execution_time in your php.ini file.

PHP Configuration:

Edit your php.ini file with these settings:

upload_max_filesize = 50M
post_max_size = 50M
max_execution_time = 300

Server Configuration:

Also check these server settings:

  • upload_max_filesize: Maximum file size for uploads
  • post_max_size: Maximum POST data size
  • max_execution_time: Maximum script execution time
  • memory_limit: Maximum memory usage

Recommended Settings:

upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 300
memory_limit = 256M

Restart Required:

After making changes to php.ini, restart your web server:

  • Apache: sudo systemctl restart apache2
  • Nginx: sudo systemctl restart nginx
  • PHP-FPM: sudo systemctl restart php8.1-fpm