Hi! I have installed the Perfect Setup - Debian Sarge, everything works perfectly - but when i try to upload large files, i get an error: "Request entity too large". How do i solve this problem? Thanks //Jazzperson
I know - but i can't even install new templates or components in Joomla! CMS.. It's a major problem..
Ok, you mean you can connect with FTP with the user which is the administrator of the website but you can not upload any files inside the "web" folder?
Apparently it has something to do with "LimitRequestBody" in php.conf.. But where is php.conf located?
If you upload with FTP, it has nothing to do with a PHP setting. Please try to answer my questions above, otherwise I can not help you if you dont tell me how you upload the files.
No - it has nothing to do with FTP - The component and template installer in Joomla!CMS is based on php upload.. Request Entity Too Large The requested resource /inetservers/administrator/index2.php does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit. Apache/2.2.3 (Debian) PHP/5.2.0-8+etch7 mod_ssl/2.2.3 OpenSSL/0.9.8c Server at www.xxxx.eu Port 80
Ok, but then you should tell us in the first post that you have a problem with joomla and not with file uplodas in general or ISPConfig. Please have a look at the php.ini file (/etc/php5/apache/php.ini or a similar path) andset the limits for post requests and file uploads to a higher limit and restart apache.
post_max_size = 8M upload_max_filesize = 2M File size = 812 kb No change.. One with the same problem: http://forum.mamboserver.com/showthread.php?t=19892 - I need to change "LimitRequestBody", but i don't know where..
You must add this to your Apache configuration: http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody
Thaks - I can't figure out exactly what to add.. Just LimitRequestBody 102400 to the first type of directives in apache2.conf? Is LimitRequestBody 0 = unlimited?
I've added it as you see, but it wont work.. What do i do wrong? ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation (available # at <URL:http://httpd.apache.org/docs-2.1/mod/mpm_common.html#lockfile>); # you will save yourself a lot of trouble. # # Do NOT add a slash at the end of the directory path. # ServerRoot "/etc/apache2" # #LimitRequestBody # LimitRequestBody 0 # # The accept serialization lock file MUST BE STORED ON A LOCAL DISK. # #<IfModule !mpm_winnt.c> #<IfModule !mpm_netware.c> LockFile /var/lock/apache2/accept.lock #</IfModule> #</IfModule>
Sorry, but I had to ask. I've been known to forget that step in the past Especially when things are getting hectic.
Can you add the line to your vhost configuration within Apache (if you're using ISPConfig, put it in the Apache Directives field of that web site)?
Done - sadly there was no change.. Maybe some of this information can help?: http://www.inetservers.eu/phpinfo.php
Hmm.. Maybe a downgrade of Apache is the solution - i actually think it went wrong, when i upgraded to 2.2.3.. How do i downgrade without interrupting with ISPconfig?