I have to be missing something. I CANNOT get my script to allow uploads larger than 2MB without changing the php.ini file. If I use
ini_set('memory_limit','64M');
ini_set('post_max_size','64M');
ini_set('upload_max_filesize','64M');
the only value that's changed is the memory limit. I've also tried using a .htaccess file, like so:
php_value upload_max_filesize 64M
php_value post_max_size 130M
php_value memory_limit 140M
php_value max_execution_time 300
If I do that, nothing changes, even after restarting Apache. Am I doing something wrong? This doesn't work on the host or on my personal testing server.