Jump to content

Recommended Posts

Hi guys,

I want to increase file upload size on my computer. I'am running 4.3.11. I've found this files:
1. php.ini-dist
2. php.ini-recommended

But when I change the file upload size there it does not work....
Where do I have to change it?

Thanks for your help,
George
Link to comment
https://forums.phpfreaks.com/topic/32051-solved-increase-file-upload-size/
Share on other sites

run phpinfo() and find the part where the path to your php.ini file is - that file (php.ini) is where the changes must be made. Those you've pointed out are ini versions as they could/should be set - but they are not used by anything other that to show you the settings.
rename php.ini-recommended to php.ini and move that to C:/WINDOWS.

Open the php.ini for editing and find the following line:
[code=php:0]upload_max_filesize = 2M[/code]

Change 2M to 8M or whatever max file upload size you want. Save the php.ini and restart the server. The upload limit should now of changed.
[quote author=wildteen88 link=topic=120133.msg492667#msg492667 date=1167327420]
rename php.ini-recommended to php.ini and move that to C:/WINDOWS.

Open the php.ini for editing and find the following line:
[code=php:0]upload_max_filesize = 2M[/code]

Change 2M to 8M or whatever max file upload size you want. Save the php.ini and restart the server. The upload limit should now of changed.
[/quote]


Thanks Guys!
As always, wildteen88.... Thank you VERY much :)
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.