Gruzin Posted December 28, 2006 Share Posted December 28, 2006 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-dist2. php.ini-recommendedBut when I change the file upload size there it does not work.... Where do I have to change it?Thanks for your help,George Quote Link to comment https://forums.phpfreaks.com/topic/32051-solved-increase-file-upload-size/ Share on other sites More sharing options...
alpine Posted December 28, 2006 Share Posted December 28, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/32051-solved-increase-file-upload-size/#findComment-148762 Share on other sites More sharing options...
Gruzin Posted December 28, 2006 Author Share Posted December 28, 2006 [b]Configuration File (php.ini) Path C:\WINDOWS[/b]It will be very difficult to find it in windows folder :) Quote Link to comment https://forums.phpfreaks.com/topic/32051-solved-increase-file-upload-size/#findComment-148764 Share on other sites More sharing options...
Gruzin Posted December 28, 2006 Author Share Posted December 28, 2006 Can't find it...The only file I've found is - [b]php4ts.dll[/b] in system32 folderRegards,George Quote Link to comment https://forums.phpfreaks.com/topic/32051-solved-increase-file-upload-size/#findComment-148777 Share on other sites More sharing options...
cmgmyr Posted December 28, 2006 Share Posted December 28, 2006 It should be in there, just do a search for php.ini in your Windows directory then open the file and search for upload_max_filesize. Then Change that to what ever size you want (The default is 2M)-Chris Quote Link to comment https://forums.phpfreaks.com/topic/32051-solved-increase-file-upload-size/#findComment-148811 Share on other sites More sharing options...
wildteen88 Posted December 28, 2006 Share Posted December 28, 2006 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 Link to comment https://forums.phpfreaks.com/topic/32051-solved-increase-file-upload-size/#findComment-148852 Share on other sites More sharing options...
Gruzin Posted December 29, 2006 Author Share Posted December 29, 2006 [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 :) Quote Link to comment https://forums.phpfreaks.com/topic/32051-solved-increase-file-upload-size/#findComment-149290 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.