Wiki ⇒ Tips and Tricks ⇒ How to Change Default php Upload File Size ⇒ CPG Dragonfly™ CMS
WikiTips and Tricks ⇒ How to Change Default php Upload File Size

10. 4: How to Change Default php Upload File Size Parent


"If your server doesn't allow it then a Error 500 is given"

Edit the .htaccess access file in the root of the dragonfly folder (same folder as config.php and admin.php)
. Add the following 2 lines at the bottom:

php_value upload_max_filesize 200M
php_value post_max_size 200M

Change the numbers to whatever you want, just make sure they are both the same. Save and upload.

Log into your admin screen and go to DOWNLOADS > CONFIGURATION > UPLOADING and look in the first column. If it says “PHP Max: 200M” it has worked. Now change the upload limit in downloads pro to be anything you want up to the maximum allows PHP size.

Now do a test upload to see if it works.

Just before writing this I successfully uploaded a 194meg file. It went fine, only problem was there was no feedback as to how the upload was progressing, so I had no idea how long it would take or if the upload had frozen, this is only a problem for large file uploads, obviously.


Created: Monday, September 18, 2006 (16:19:58) by Dizfunkshunal
Updated: Sunday, October 23, 2011 (06:08:04) by Dizfunkshunal