Re: Setting upload_max_filesize

From: Date: Fri, 01 Dec 2000 18:20:35 +0000
Subject: Re: Setting upload_max_filesize
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-28247@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Answering my own question, I searched the mailing lists again and found that I needed to add the line: post_max_size = 20971520 to php.ini. Woo hoo! On Fri, 1 Dec 2000, H. Wade Minter wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I'm working on a file upload area for our intranet. People need to be > able to upload large files to it. > > In /usr/local/lib/php.ini, I've got the following line: > > upload_max_filesize = 20971520 ; 20 Meg default limit on file > uploads > > However, when I try to upload a 17MB file, I get this in my error log: > > [01-Dec-2000 13:05:40] PHP Warning: POST Content-Length of 17695705 bytes > exceeds the limit of 8388608 bytes in Unknown on line 0 > > I can't find a limit of 8388608 referenced anywhere in php.ini or the > script itself. Does anyone have any ideas? > > Running php 4.0.3pl1 > > Thanks, > Wade > > - -- > H. Wade Minter | NeTraverse, Inc. > System Administrator | minter@netraverse.com > "Some may recall the singing of the sirens > lured in the sailors who's wreck and drown. > Some say they still hear the fightin' and the flirtin' > and the preachin' of the daughters of Farmer Brown." > --Eddie From Ohio, "Three Fine Daughters of Farmer Brown" > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE6J+ngX5y4ZKLK2pMRAuxWAJsGSAv+pyLbCXdtenjPHHhZS4g1sgCfeUcl > WYlA6JfyzN6wDNMJrak7GBM= > =9MJ9 > -----END PGP SIGNATURE----- > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > - -- H. Wade Minter | NeTraverse, Inc. System Administrator | minter@netraverse.com "It always rains like hell on the Loser's Day parade." --Goo Goo Dolls, "Broadway" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6J+v1X5y4ZKLK2pMRAldYAJ4g6lqvC8xPYLau/TyTvsJlRtwREwCeIc6x XQwXPkIzF1Nb+6t/zGQy8so= =0aC+ -----END PGP SIGNATURE-----

« previous php.general (#28247) next »