What are the best practices for adjusting post_max_size and upload_max_filesize in PHP to accommodate large file uploads?

When dealing with large file uploads in PHP, it is important to adjust the `post_max_size` and `upload_max_filesize` directives in your php.ini file to accommodate the size of the files being uploaded. These directives control the maximum size of POST data that PHP will accept and the maximum size of uploaded files, respectively. By increasing these values, you can allow users to upload larger files without encountering errors.

// Adjust post_max_size and upload_max_filesize in php.ini
// Example setting both to 100MB
post_max_size = 100M
upload_max_filesize = 100M