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

249
Views
Why is editing upload_max_filesize in php.in not working?

I tried to upload file on wordpress but it didn't allow me to do so because the file size was larger than the limit. After googling the problem, I accessed my website info through ssh and edited the php.ini file to increase the following settings:

upload_max_filesize = 512M
post_max_size = 512M
memory_limit = 512M

PS: I noticed that this also changed the info in the php-7.2.ini which seems to be an exact copy of php.ini.

After changing those settings I restarted httpd and went to my website. The upload limit was at 1M and I tried uploading the file again and it still didn't work...

I'm running out of possible solutions so if someone could help me out, that'd be awesome!

PS: I don't know if this matters but the wordpress I have is running with the multisite option ON. I only currently have 1 website on it. Also don't know if this matters, but I also route my www.example.com domain to my example.com domain in Route 53 in AWS and read somewhere that the server might be creating 2 separate instances on the server. Adding the multisite functionality worked fine when I edited the wp-config.php file so I figured the double instance thing was not a problem but I'm still mentioning it here just in case.

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!