Re: problems with uploads to wordpress

Steve Holdoway <[email protected]> Sat, 03 Dec 2011 12:47:43 +1300
Newsgroups gmane.org.user-groups.linux.new-zealand.general
Organization Green Gecko Global Ltd.
Message-ID <1322869663.2554.380.camel@steve-desktop>
--===============0337931347==
Content-Type: multipart/signed; micalg="sha1";
	protocol="application/x-pkcs7-signature";
	boundary="=-uCI43ANBil8VYfh+OZSF"


--=-uCI43ANBil8VYfh+OZSF
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, 2011-12-03 at 12:22 +1300, Robin Paulson wrote:
> On Sat, 3 Dec 2011 11:28:13 +1300, David Pando wrote:
> >> size. i can upload a small png no problem, but the 3.6MB .xpi files=20
> >> causes
> >> problems as it is beyond the maximum of 2MB. so, i increased the=20
> >> value of
> >> upload_max_filesize in /etc/php5/apache2/php.ini to 5MB, but it=20
> >> still fails
> >>
> >>
> >>
> > Increasing upload_max_filesize is not usually enough, as you also=20
> > have to
> > increase post_max_size .
>=20
>  that's at 8MB already, should it be bigger than upload_max_filesize by=20
>  some factor?
>=20
You can also set  MAX_FILE_SIZE in a form to limit it. Also, check that
the default upload_max_filesize and post_max_size aren't being
overridden either in code or .htaccess.

hth,

Steve

--=20
Steve Holdoway BSc(Hons) MNZCS <[email protected]>
http://www.greengecko.co.nz
MSN: [email protected]
Skype: sholdowa

--=-uCI43ANBil8VYfh+OZSF--



--===============0337931347==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
NZLUG mailing list [email protected]
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug

--===============0337931347==--