ISPConfig reset admin password

To reset password for ISPConfig, login to MySQL as root.

if you don’t have MySQL root password, see ISPConfig Find MySQL root password.

Switch to ISPConfig database

To change password, run

Replace NEW_PASSWORD_HERE with your new password.

ISPConfig LetsEncrypt Free SSL

Add SSL for ISPConfig Control Panel

To add SSL for ISPConfig control panel, add server hostname as a web site in ISPConfig and enable the LetsEnrypt checkbox. That will get SSL installed for your hostname. Make sure you verify hostname resolve to the ISPConfig server before doing this or SSL validation fail.

Once you have valid LetsEncrypt SSL certficate installed on your site, create file

Add following content

If you use nginx, replace apache2 on last line with nginx.

Now set a cronjob


Now you should be able to access ISPConfig with url https://HOSTNAME:8080

Related Posts



ISPConfig fail to create MySQL database

Whem creating MySQL database in ISPConfig, no database get created. To debug, i disabled the cronjob. Created a database in ISPConfig control panel, run cronjob manually, it shows following error

This is because ISPConfig can’t connect to MySQL server for creating new MySQL database. To fix, edit file /usr/local/ispconfig/server/lib/mysql_clientdb.conf

Update MySQL password for user root on this file. The content of the file look like

Related Posts



Install SSL for ISPConfig Control Panel

First find hostname for the server using command

Login to ISPConfig, add this web site. Get an SSL issued for this web site. Verify SSL works for this site.

Now create file

Add following content to the file

Excute the script

When you run first time, you may get missing file error, you can ignore it.

Set a cronjob

Related Posts


Disable Apache Error log in ISPConfig

ISPConfig is a free hosting control panel. It come with Nginx and Apache web servrs. You can select one during installation.

if you are using Apache web server with ISPConfig and want to disable Apache Error logs, then do the following

Now restart Apache

This is not a permanant solution as ISPCOnfig will rewrite apache configuration when you make changes to web site. I had to do this for a server which have too many sites writing errors to error_log, causing high IO load. Proper solution is to fix errors, until errors can be fixed, this is a quick fix, that will reduce IO usage due to error_log.

Make sure you make a copy of files before you run the sed command that modify all apache config, so in cuase anything happens, you can revert back.

ISPConfig 3 configuration files

ISPConfig 3 configuration files are are located in folder


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] mod_fcgid: HTTP request length 139264 (so far) exceeds MaxRequestLen (131072), referer:

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







See Hosting Control Panel

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

For CentOS 6, run

For CentOS 7

Install PHP 7.2 with

Configure PHP-FPM


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.