I have a PHP web application and where users a upload files. I need to raise the limit to 2gb on my VPS that has 512mb of memory and 256mb of swap space. I have tried raise the limit by changing upload_max_filesize and post_max_size. It works when I raise the limit to 150mb, but not when I change it to 250mb. Any idea what is limiting it?
**UPDATE
My host is linode and I am running the 512mb VPS.
I am running Ubuntu 10.04 and am using apache2 with the default settings. I am changing the limit in my .htaccess file.