[TYPO3] Standard process to increase file upload limit

Sascha Mantscheff sascha at mantscheff.net
Sun Jan 13 11:30:03 CET 2008


This is not a problem of the upload file size but of the memory 
available for PHP. Try to allow more memory for PHP.

s.m.

Nagita Karunaratne schrieb:
> Hi,
> 
> I have been doing this:
> 
> 1) In PHP.ini:
> 
> ;Maximum allowed size for uploaded files.
> upload_max_filesize = 10M
> 
> ; Maximum size of POST data that PHP will accept.
> post_max_size = 8M
> 
> 2) In the TYPO3 Installer:
> 
> maxFileSize = 102400
> 
> 3) Restart apache
> 
> 
> Some people have modified their php.conf file but my system (CentOS5) 
> does not have this file.
> 
> 
> When I try to upload an 2.2M extension from my local PC I get this:
> 
> Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to 
> allocate 4584188 bytes) in 
> /usr/local/typo3_src-4.1.5/typo3/mod/tools/em/class.em_terconnection.php 
> on line 152
> 
> Thanks.
> 
> 




More information about the TYPO3-english mailing list