File size validation not working for video files #51397
-
Laravel Version10.47 PHP Version8.2 Database Driver & VersionMySQL 8.2 DescriptionI try to validate the array of videos for post api, the video sizes can not be more than 5MB, but laravel fails to validate them, it throws this exception below: the exception:::::::::: Steps To ReproduceI try to validate the array of videos for post api, the video sizes can not be more than 5MB, but laravel fails to validate them, it throws this exception below: the exception:::::::::: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I FIXED IT, the problem was my configuration of php.ini file, the value of post_max_size and upload_max_size were not the same. |
Beta Was this translation helpful? Give feedback.
I FIXED IT, the problem was my configuration of php.ini file, the value of post_max_size and upload_max_size were not the same.