Results 1 to 2 of 2
Oct 1, 2003, 15:41 #1
- Join Date
- Nov 2001
- 0 Post(s)
- 0 Thread(s)
Override max_upload_size setting?
Is it possible to override the max_upload_size setting that is set in the main servers' php.ini? If so, how?
It is currently set to 2 MBs and I would like to change it to 20 MBs.John Saunders
Oct 1, 2003, 15:55 #2
If you're on a shared host, it won't allow you to modify the php.ini
You can create an .htaccess file in the upload handler script directory that contains:
php_value upload_max_filesize 8000000
(example set for 8 megs)