What is the common error message encountered when trying to upload a file in PHP?

When trying to upload a file in PHP, a common error message encountered is "upload_max_filesize exceeded." This error occurs when the uploaded file exceeds the maximum file size limit set in the PHP configuration. To solve this issue, you can increase the `upload_max_filesize` and `post_max_size` values in the php.ini file or use the `ini_set()` function in your PHP script to temporarily adjust the values.

// Increase the maximum file size limit
ini_set('upload_max_filesize', '20M');
ini_set('post_max_size', '25M');