Are you trying to fix ‘ISPConfig 500 internal server error’?
This guide is for you.
ISPConfig is a free open-source control panel application that allows website owners to easily administer their sites, similar to cPanel and Plesk. It also allows resellers to manage multiple accounts on multiple physical or virtual servers.
Basically, the ISPConfig web panel users face this error when the MaxRequest value exceeds.
Also, this error can occur due to PHP-fpm issues.
ISPConfig is an open-source hosting control panel for Linux. Which is capable of managing multiple servers from one control panel.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to resolve ISPConfig related errors.
In this context, we shall look into method to fix this ISPConfig error.
Tips to fix ISPConfig 500 internal server error?
Recently one of our customers approached us with this ISPConfig internal server error. When he tried to access the panel it returned 500 internal server errors.
Apply the following tips to resolve this ISPConfig error.
1. Modify the MaxRequest value
Here are the steps we follow to increase the MaxRequest value.
i. First, we log into the server via SSH.
ii. Next, we open the file: etc/apache2/mods-available/fcgid.conf. For that, we run the below command.
vi /etc/apache2/mods-available/fcgid.conf
iii. After that, we add or edit the line “MaxRequestLen 15728640″ in the file /etc/apache2/mods-available/fcgid.conf, to set the Request Limit to 15MB.
At last, the file should contain the below settings.
AddHandler fcgid-script .fcgi
FcgidConnectTimeout 20
MaxRequestLen 15728640
Note: We can change the value MaxRequestLen as per our requirements.
iv. Lastly, we save the changes and restart the Apache.
/etc/init.d/apache2 restart
Finally, this fixes the ISPConfig error.
2. Restart the PHP-fpm service
To resolve this error we also restart the PHP-fpm service as well. Here is the command we run to restart it.
# service php-fpm restart
[Still, not able to fix this ISPConfig error? – We’d be happy to help you. ]
Are you trying to fix ‘ISPConfig 500 internal server error’?
This guide is for you.
ISPConfig is a free open-source control panel application that allows website owners to easily administer their sites, similar to cPanel and Plesk. It also allows resellers to manage multiple accounts on multiple physical or virtual servers.
Basically, the ISPConfig web panel users face this error when the MaxRequest value exceeds.
Also, this error can occur due to PHP-fpm issues.
ISPConfig is an open-source hosting control panel for Linux. Which is capable of managing multiple servers from one control panel.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to resolve ISPConfig related errors.
In this context, we shall look into method to fix this ISPConfig error.
Tips to fix ISPConfig 500 internal server error?
Recently one of our customers approached us with this ISPConfig internal server error. When he tried to access the panel it returned 500 internal server errors.
Apply the following tips to resolve this ISPConfig error.
1. Modify the MaxRequest value
Here are the steps we follow to increase the MaxRequest value.
i. First, we log into the server via SSH.
ii. Next, we open the file: etc/apache2/mods-available/fcgid.conf. For that, we run the below command.
vi /etc/apache2/mods-available/fcgid.conf
iii. After that, we add or edit the line “MaxRequestLen 15728640″ in the file /etc/apache2/mods-available/fcgid.conf, to set the Request Limit to 15MB.
At last, the file should contain the below settings.
AddHandler fcgid-script .fcgi
FcgidConnectTimeout 20
MaxRequestLen 15728640
Note: We can change the value MaxRequestLen as per our requirements.
iv. Lastly, we save the changes and restart the Apache.
/etc/init.d/apache2 restart
Finally, this fixes the ISPConfig error.
2. Restart the PHP-fpm service
To resolve this error we also restart the PHP-fpm service as well. Here is the command we run to restart it.
# service php-fpm restart
[Still, not able to fix this ISPConfig error? – We’d be happy to help you. ]
i am using an html form with php to upload data to mysql.
the form is working properly when i am using it on my laptop (wamp) but when i uploaded the site on my dedicated server (ispconfig) get this error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
i tried changing the values of the php.ini in
post_max_size 64M
upload_max_filesize 64M
max_input_time 3000
max_execution_time 3000
and the ones in the apache also in
memory_limit 96M
post_max_size 64M
upload_max_filesize 64M
but i still cant upload.
thank you for reading this.
Passerby
9,6592 gold badges33 silver badges50 bronze badges
asked Jul 16, 2013 at 6:42
11
You need to increase FcgidMaxRequestLen
in httpd.conf
file
use something like
FcgidMaxRequestLen 67108864
From FcgidMaxRequestLen Directive
Warning
Before 2.3.6, this defaulted to 1GB. Most users of earlier versions
should use this directive to set a more reasonable limit.
answered Jul 16, 2013 at 7:58
3
Note that a syntax error in a php/ajax processing script could report as an «internal server error».
For example, I was using Ravishanker Kusuma’s jQuery Upload File plugin and was getting this message.
Turns out it was just a missing )
in an (unused) function inside my code in the PHP processor file specified by the AJAX script. When a file was uploaded, this script would be called, the script would break inside the unused function, and this is the error it would report.
FWIW
answered Jan 6, 2015 at 18:02
cssyphuscssyphus
36.7k18 gold badges93 silver badges108 bronze badges
None of the solutions above worked for me.
For CentOS users with Plesk Pannel follow the next steps
Change this value in the template
# grep -ir FcgidMaxRequestLen /usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php
FcgidMaxRequestLen 16777216
# sed -i ‘s/FcgidMaxRequestLen 16777216/FcgidMaxRequestLen 1073741824/g’ /usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php
# grep -ir FcgidMaxRequestLen /usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php
FcgidMaxRequestLen 1073741824
Rebuild the virtualhost configurations.
# /usr/local/psa/admin/bin/httpdmng —reconfigure-all
# /usr/local/psa/admin/bin/httpdmng —reconfigure-server
https://support.plesk.com/hc/en-us/articles/213955145-Unable-to-upload-large-files-via-PHP-HTTP-request-length-exceeds-MaxRequestLen
answered Apr 25, 2017 at 8:03