 Okay, so the other day I did a quick little video on, you know, some scripts I wrote that got the GPS coordinates and the address based on GPS coordinates from an image and sorts it. And I put it on a server that you could upload to and I mentioned that when I tried uploading a bunch of the pictures at once or larger files it wasn't working and I thought it was some sort of limitation on the VPS I was running which after I thought it didn't really make sense because I have so much bandwidth I can use. So I looked it up and this makes sense I should have known this, you know Apache you can set limits for the server which makes sense because if you're you know a hosting company and you're hosting websites you don't want people being able to upload you know mass amounts of stuff necessarily all at once so and if they're writing the scripts how do you control that well with the Apache config files. So today I'm just going to show you real quick a few lines you can change to you know increase your file size limit on your server if you're in control of the server. So I'm going to use Vim as my text editor and you got to be you know have permission to edit this file so it's I'm going to sudo Vim or whatever text editor you like. ETC PHP the you know version of PHP I guess that you're running forward slash Apache to PHP dot INI so actually this is I guess PHP configuration for your Apache server so I mean this part might change and this is on a Debian based system files will be in this might be in a different place if you're running Fedora or some other distribution but Debian based distributions it'll probably be here if not if you search inside the ETC folder for PHP dot INI you'll probably find it gonna go ahead and hit enter then I'm gonna search for a file line that says post max size so there we go and in this case by default it's set to 8 so if you want it to be more you can obviously change that I'll change it to 100 megabytes next I'm gonna look for a line that says upload underscore max file size and you can see that is limited to 2 which was one of my problems because and it did seem like around 2 megabytes it would cut me off so let's go ahead and change that to 100 of course you know keep in mind who has access to these uploads you know you don't want everybody uploading 100 megabytes all at once and then you can also you know set a limit to the max files at once it's set here to 20 again I'll just set this to 100 this is on my desktop computer here at home so it's not open up to the world so you know I'll save that and then at this point you need to restart Apache so you know there's two ways you can normally do that you can pseudo service Apache to restart and that will restart it another way would be to pseudo sys control restart Apache to service and then there's you know another way but those are the two main ways you probably do it and your your file size and amount of uploads have changed so you won't have that limit of 2 megabytes that we had earlier that's it I just wanted to do that little update so if you're trying to use the other project and you're uploading larger files or a large number of files you can now do more I do thank you for watching and as always please visit films by Chris calm that's Chris of the K there should be a link in description as always I hope that you have a great day