File sizes

A member asked me what the max file size is that they can upload for Pics and Video. Good question! Where can I find this out?

(yes, Im doing searches for it)

My signature can beat up your signature!
Quote · 24 Aug 2010

Your PHP configuration. In Dolphin 7, the upload limitations are defined by the related PHP configuration settings.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Aug 2010

There is no real set limit. It's mostly determined by PHP's set limits. Your servers version of PHP is configured via a ph.ini file.

These are the dolphin recommend settings.

register_globals=Off
magic_quotes_gpc=On
allow_url_fopen=On
allow_url_include=Off
upload_max_filesize=300M
post_max_size=300M
max_input_time=3000
max_execution_time=3000
memory_limit=128M
short_open_tag=On

upload_max_filesize has the most afffect on how big of a file can be uploaded. However there is also processing. For example a uploaded image is processed to create thumbnail images. That requires memory. So the memory_limit also plays a role. If not set high enough errors can occure when processing large files.

I recommend a memory limit of at least 256M

Regardless of what is set, the actual limit will be slightly less due to overhead during processing.

So you will actually have to perform some upload tests on your own and if not sastified start adjusting php settings.


https://www.deanbassett.com
Quote · 24 Aug 2010

Ok. My response would have been ahead of yours if mine was not so long-winded.



https://www.deanbassett.com
Quote · 24 Aug 2010

Im looking for php.ini and I cant find that anywhere!

Tha

My signature can beat up your signature!
Quote · 24 Aug 2010

 

Im looking for php.ini and I cant find that anywhere!

Tha

You'll have to make one.

 

Make a new file called php.ini (not .txt, etc.) with the following:

 

[PHP]

register_globals=Off
magic_quotes_gpc=On
allow_url_fopen=On
allow_url_include=Off
upload_max_filesize=300M
post_max_size=300M
max_input_time=3000
max_execution_time=3000
memory_limit=128M
short_open_tag=On

 

Place it in the root directory of your installation.

 

You can also edit the file size allowed from 300MB to anything you like.

 

Have fun.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Aug 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.