Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2012-04-14 21:09:16

Tommy
Guest

How to change upload size limit?

Tags: [web upload]

I just upgraded to 2.3.4 and now when I upload there's a size limit of 2MB for each picture. Anyone how to change this limit? Please help me. Thanks

#2 2012-04-15 08:50:22

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11721
Website

Re: How to change upload size limit?

Hi Tommy,

This is very "unexpected"! There is nothing changed in version 2.3.4 related to upload size limit.

Didn't you have a local php.ini or a .htacess that you erased when upgrading to 2.3.4?


Latest blog post on Piwigo.com: Piwigo 2.5 on Piwigo.com (March 7th, 2013)

Offline

#3 2012-04-15 15:46:12

Tommy
Guest

Re: How to change upload size limit?

I just switched to new host because I've lost all the files with my previous host, I just have my backup files and there's no php.ini file, the .htaccess as I checked, it was blank. What should I do now? thanks for your help

#4 2012-04-15 17:33:04

mistic100
Piwigo Team
Location: Avignon (Fr)
Registered: 2008-09-27
Posts: 1450
Website

Re: How to change upload size limit?

well it's certainly a limit of your new host

try adding these lines on your htaccess file
php_value upload_max_filesize 8M
php_value post_max_size 8M

Last edited by mistic100 (2012-04-15 17:33:34)

Offline

#5 2012-04-20 17:24:21

juscuz
Member
Location: Houston, TX USA
Registered: 1970-01-01
Posts: 7

Re: How to change upload size limit?

I use bluehost as my provider and it was freaking me out too when I first installed Piwigo and was receiving that error on most of my images.

I had to add the following to /public_html/php.ini

upload_max_filesize = 10m
post_max_size = 10m

Offline

#6 2012-04-20 21:41:32

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11721
Website

Re: How to change upload size limit?

Can you mark your topic as resolved? or do you still have issues to configure your new host?


Latest blog post on Piwigo.com: Piwigo 2.5 on Piwigo.com (March 7th, 2013)

Offline

#7 2012-06-25 18:38:10

skpManiac
Member
Location: England
Registered: 2012-02-15
Posts: 110
Website

Re: How to change upload size limit?

mistic100 wrote:

well it's certainly a limit of your new host

try adding these lines on your htaccess file
php_value upload_max_filesize 8M
php_value post_max_size 8M

I am having the same issue, but if I add this to my .htaccess file the site stops working :/

I usually just ignore this, maybe thats why I cannnot upload new images on 2.4?


Share & Enjoy

Offline

#8 2012-07-06 08:48:57

Dean
Guest

Re: How to change upload size limit?

Same problem for me - if I add anything to the htaccess the site stops working and the php.ini doesn't appear in the listing. Any help would be appreciated.

#9 2012-07-06 09:29:29

flop25
Piwigo Team
Registered: 1970-01-01
Posts: 3396
Website

Re: How to change upload size limit?

hi
you might read http://stackoverflow.com/questions/2992 … n-htaccess 3rd google result about php_value upload_max_filesize


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

#10 2012-07-06 13:04:48

pewe
Member
Registered: 2012-03-16
Posts: 362

Re: How to change upload size limit?

I found if I used the .htaccess it broke my site too.

I used the php.ini method and that works fine. See here for details

http://piwigo.org/forum/viewtopic.php?p … 52#p132052

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013