Local File Upload in Snow Leopard
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.
what is size of file that is being uploaded...?
also see other server config can can create problem for http upload...
Originally Posted by frank1
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.
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