@DOMINIQUE WEYAND Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
May I know how are you trying to upload?
As I understand you are using Azure Files storage to upload files to Azure VM?
Can you share the complete screenshot of the error message?
Yes, there are several parameters in the VM that can be adjusted to allow larger file uploading. The two parameters that are most likely causing the issue are upload_max_filesize
and post_max_size
. These parameters control the maximum size of files that can be uploaded and the maximum size of POST data that PHP will accept, respectively.
To increase the maximum file size that can be uploaded, you can adjust the upload_max_filesize
parameter in your PHP configuration file. The default value for this parameter is 50 MB, but it can be increased up to 256 MB. To do this, you can add the following line to your PHP configuration file:
upload_max_filesize
To increase the maximum size of POST data that PHP will accept, you can adjust the post_max_size
parameter in your PHP configuration file. The default value for this parameter is 128 MB, but it can be increased up to 256 MB. To do this, you can add the following line to your PHP configuration file:
post_max_size
Once you have made these changes, you will need to restart your web server for the changes to take effect.
Please let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.