WikiTips and Tricks ⇒ How to Change Default php Upload File Size  

Glossary
The Project
Install
Dragonfly admin interface
Dragonfly public view
Dragonfly Themes
Build local server
Running Dragonfly CVS
Tips and Tricks
Rules & Regulations
v9 Developer's Manual
v10 Developer's manual
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.

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

Dedicated Server & Bandwidth Sponsored by DedicatedNOW

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.1183 seconds with 12 DB Queries in 0.0169 seconds
Memory Usage: 1.48 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy