• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How do I increase file size for php

C

crotalos

Guest
Hi, I what to change the size of the files my server recived from 2M to 20M, ho do I do so

Thanks for your help
 
Hi,

Go to your php.ini file and search for the following line:

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M (change it to 20 and save the php.ini file)

That's it.

if you use Windows 2003 server then your php.ini file is in c:\windows folder (just in case you don't know;-)


Henryk
 
Back
Top