Unable to upload images more than 2MB.

Aside from that problem, it is not also following the validation message too:
FileUpload::make('photo_id')
->validationAttribute('Fileee')
->required()
->directory('photo_id')
->label('Upload Government ID or PO ID')
->image()
->validationMessages([
'uploaded' => 'The :attribute error.',
]),
FileUpload::make('photo_id')
->validationAttribute('Fileee')
->required()
->directory('photo_id')
->label('Upload Government ID or PO ID')
->image()
->validationMessages([
'uploaded' => 'The :attribute error.',
]),
No description
1 Reply
vahnmarty
vahnmartyOP9mo ago
Ah, it was a php.ini issue. Since I'm using Herd, all I did was edit the config file and restart services.
upload_max_filesize=5M
post_max_size=5M
upload_max_filesize=5M
post_max_size=5M
Want results from more Discord servers?
Add your server