jonatan Posted April 10, 2020 Share Posted April 10, 2020 Hi, When I try to upload a file I get File is too big - maximum allowed size is 8192 kb Any ideas why that could be? I've checked the php.ini but "8192" is nowhere to be found. So must be something PW related. My sites are running locally on MAMP Pro. The really weird thing is, that when I try to upload the same file (26mb size) on another PW site, also on my local MAMP PRO, I get no errors at all and the file uploads fine... Anyone who could have a clue? Or have experienced anything alike? ? Thanks a lot! All the best, Jonatan. Link to comment Share on other sites More sharing options...
jacmaes Posted April 10, 2020 Share Posted April 10, 2020 Pretty sure it's in your php.ini file. See here: https://studioncreations.com/blog/increasing-wordpress-8mb-limit-with-mamp-pro/ http://blog-en.mamp.info/2009/09/increase-php-memory-limit-with-mamp-pro.html Link to comment Share on other sites More sharing options...
qtguru Posted April 10, 2020 Share Posted April 10, 2020 Not Processwire jacmaes is right, check your php.ini settings max_uploads. Link to comment Share on other sites More sharing options...
Jonathan Lahijani Posted December 20, 2021 Share Posted December 20, 2021 The upload limit is set by php.ini's 'post_max_size' setting. If you are using php-fpm, make sure to restart php itself so that the setting takes effect: sudo service php7.4-fpm restart Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now