This post has been migrated and imported into different systems over the years, I have not had a chance to format this post manually so it may be hard to read but I have left it here as a reference.

I’m constantly installing and reinstalling phpmyadmin on my macs and I keep having to look up how to change the max upload size. It’s fairly simple actually, you simply need to edit the following things in your php.ini file. My php.ini file was located in my /etc/ folder.

upload_max_filesize
memory_limit
post_max_size

Set these to whatever you want the limit at, I set mine high since its on my local computer, so 128M.

Then use the following command in your terminal to restart apache on Mac OSX Lion.

sudo /usr/sbin/apachectl restart