tgavin — 2010-04-17T19:33:40-04:00 — #1
I'm building a site and testing it locally. For some reason I can't get a file to upload using a PHP script. The script works perfectly on my server, just not on my Mac.
I thought it may be a permissions issue, so I opened Terminal and tried to chgrp the folder. I received "Invalid Argument." I can chown and chmod no problem. I can't chgrp, even using sudo or su.
frank1 — 2010-04-18T00:23:19-04:00 — #2
what is size of file that is being uploaded...?
also see other server config can can create problem for http upload...
tgavin — 2010-04-18T07:32:33-04:00 — #3
Yeah, I'm not sure where to look to find out what the problem is. And it's very odd that I can't chgrp.
tgavin — 2010-04-18T08:21:48-04:00 — #4
I should also note that I have the following in php.ini, located in /private/etc/php.ini
file_uploads = On
upload_max_filesize = 2M