I hope you are well.
I am creating a Learning Platform in pure PHP with MySQL and AdminLTE3.
I got to the time of creating the file manager for each user and got stuck on the following.
I have the following structure in folders:
/var/www/html/uploads/users/<% hash (USER ID)%>
, and what I'm looking for is that each folder <% hash (USER ID)%>
the maximum size is 2GB for each user.
I am using MacOs BigSur for development, but in production it will be on Ubuntu Server 18!
I am not trying set the max_file_size_upload
, I am trying to set the maximum size of each user's folder to 2gb