Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

170
Views
php.ini variables for file upload size

In my apache server, I have 3 directories for php.ini 7.2, 7.4, and 8.0. At first I edited php.ini inside 7.4/fpm/php.ini but its not working. It throws me error saying

Illuminate\\Http\\Exceptions\\PostTooLargeException

so I edited all php.ini inside every php versions. and it still gives me the same error.
upload_max_filesize=500M
post_max_size=500M
memory_limit=500M

As for the Laravel Controller.

I have a validator set like this: I set it to 400MB just to make sure.

$validator = $request->validate([
            'video' => 'required|mimes:mp4,ogx,oga,ogv,ogg,webm|max:400000'
        ]);

Yet it still gives me error.

Any idea where I went wrong?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!