Our forum magentoexpertforum.com meet the problem with images upload these days. The problem is we want to get the forum speed fast as much as possible so that we use CDN and server side fast-cgi without mod_rewrite activated.
One of the problems of fast-cgi is the default upload file is too small and we meet the problem when upload file all of time. we already fix it with this way and now share with you guys.
It’s in a 2 locations… Edit the Apache2, virtualhost config and the virtual host setup files.
edit these 2 files:
Code:
/etc/apache2/mods-available/fcgid.conf
/var/www/vhosts/your_domain_name_here/conf/last_httpd_ip_default.include
and add these lines:
HTML Code:
<IfModule mod_fcgid.c>
MaxRequestLen 20971520
FcgidMaxRequestLen 20971520
</IfModule>
If you have other config info in your module, leave it. I’ve added 20971520 bytes which is 10Mb.
Apparently fcgid settings ARE ALSO in your virtual hosts file here:
Code:
/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php
PHP Code:
<?php
if
($VAR->domain->physicalHosting->php || $VAR->domain->physicalHosting->phpHandlerType ==
'fastcgi'
): ?>
<IfModule mod_fcgid.c>
FcgidInitialEnv PP_CUSTOM_PHP_INI <?php
echo
$VAR->domain->physicalHosting->vhostDir ?>
/etc/php
.ini
FcgidMaxRequestLen 20971520
</IfModule>
<?php endif; ?>
edit the FcgidMaxRequestLen value. Mine is 10Mb now.
Let’s reconfigure your domain
Code:
/usr/local/psa/admin/bin/httpdmng
Code:
--reconfigure-domain yourdomain.com
Finally, I restarted PSA and Apache2
Code:
% service apache2 restart
and
Code:
% service psa restart
Go back to your web page and you should be able to upload large files now.
mod_fcgid: HTTP request length (so far) exceeds MaxRequestLen
mod_fcgid MaxRequestLen ubuntu 12
View more threads in the same category:
- Registrierten reisepass online kaufen, fÜhrerschein
- WO KANN ICH FALSCHES GELD KAUFEN WhatsApp….. +48 52 553 13 3
- Buy real registered passports(https://legitglobalpapers.com)drivers license, id card,
- WO KANN ICH FALSCHES GELD KAUFEN WhatsApp&...+4915212508422. Falschgeld kaufen in ess
- kaufen Swiss Franc (CHF) WhatsApp…..+4915212508422 Kaufen Sie Fälschungen (IN, BR, MX
- Wiculty’s DevOps Certification Training Course in Jayanagar Bangalore
- Wiculty’s DevOps Certification Training Course in Jayanagar
- buy a USA/UK passport online( https://legitcleandocs.com)visa, SNN, id card
- buy registered drivers license (legitcleandocs.com)IELTS, id
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
Bookmarks