ISPConfig 3 configuration files

ISPConfig 3 configuration files are are located in folder

DocumentRoot

Config file for webmail/phpmyadmin

Config for ispconfig web interface

mod_fcgid: HTTP request exceeds MaxRequestLen

On a ISPConfig server with PHP running in FCGI Mode, i get following error in error_log when upload images from WordPress admin area.

[Tue Apr 03 13:45:11 2018] [warn] [client 112.133.237.47] mod_fcgid: HTTP request length 139264 (so far) exceeds MaxRequestLen (131072), referer: https://www.url.com/wp-admin/media-new.php

ISPConfig store error log for site in “log” directory in parent folder of document root. In this case, it was

To fix the error add

to fcgi.conf

On Ubuntu/Debian, you file location is

On CentOS/RHEL

ISPConfig Add New PHP Version

Install PHP 7.2 in CentOS ISPConfig Server

First you need to install EPEL repo and REMI repo.

To install EPEL, run

To Install REMI repo, download RPM file for your OS from https://rpms.remirepo.net

For CentOS 6, run

For CentOS 7

Install PHP 7.2 with

Configure PHP-FPM

Find

Replace 9000 with unused port, i used

Restart/Enable PHP-FPM

For CentOS 7

For CentOS 6

Add PHP Version in ISPConfig

Login to ISPConfig, go to

System > Additional PHP Versions > Add new PHP version

ISPConfig Add New PHP Version

On Next Page, enter name.

In “FastCGI Settings” tab, fill following details

In “PHP-FPM Settings” tab, add

Changing a Sites PHP Version in ISPConfig

Go to sites, click on site you need to change PHP version.

On this page, you need to select value for “PHP” and “PHP Version”. Once changed, you need to wait a minute for the version change to happen. This is done by cronjob, that run every one minute.

You can manually execute the script if you want.

ispconfig