Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 24th May 2012, 20:04
maumar maumar is offline
Senior Member
Join Date: May 2009
Location: San Costanzo (PU - Italy)
Posts: 137
Thanks: 8
Thanked 11 Times in 11 Posts
Send a message via MSN to maumar Send a message via Skype™ to maumar
Default migrating from apache to nginix-php-fpm

hello there
i have a server on a multiserver infrastructure with apache+php.
At the moment it unused.
Now i was attracted by perfect-server-debian-squeeze-debian-6.0-with-bind-dovecot-and-nginx-ispconfig-3
I decided to give a try.
I have purged apache and installed nginx and all the other stuff.
At the moment to install ispconfig i realized that this box is part of a multiserver installation.
This is and should be upgraded to
What do u suggest? to unistall ispconfig and re-install it so the new installation will detect nginix as explained on howto?
Or trying the upgrade to
I would add that if this server will be removed by server table on master server is not an issue, i can rename the server and add it again with another hostname
Reply With Quote
Sponsored Links
Old 24th May 2012, 20:17
till till is offline
Super Moderator
Join Date: Apr 2005
Location: LŁneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts

ISPConfig has to be reinstalled, a update would not work. If the server contained already some websites then a ispconfig reinstall without a complete server reinstall will most likely not work as a server that has already sites can not be migrated from apache to nginx as the overalls etp of php and sites is very different.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 26th May 2012, 19:44
maumar maumar is offline
Senior Member
Join Date: May 2009
Location: San Costanzo (PU - Italy)
Posts: 137
Thanks: 8
Thanked 11 Times in 11 Posts
Send a message via MSN to maumar Send a message via Skype™ to maumar
Default let mysql 5.1 or upgrade to mysql 5.5?

Ok, i unistalled and re-installed, all went well
now i have another issue, and I ask u a suggestion:
here it is apt-get output in the monitor:

Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
mysql-client-5.1 mysql-server mysql-server-5.1
The following NEW packages will be installed:
libaio1 mysql-client-5.5
The following packages will be upgraded:
mysql-client mysql-server-core-5.1
2 upgraded, 2 newly installed, 3 to remove and 0 not upgraded.
Remv mysql-server [5.1.61-0+squeeze1]
Remv mysql-server-5.1 [5.1.61-0+squeeze1]
Inst mysql-client [5.1.61-0+squeeze1] (5.5.24-1~dotdeb.1 packages.dotdeb.org:stable [all]) []
Remv mysql-client-5.1 [5.1.61-0+squeeze1] []
Inst mysql-client-5.5 (5.5.24-1~dotdeb.1 packages.dotdeb.org:stable [amd64])
Inst mysql-server-core-5.1 [5.1.61-0+squeeze1] (5.1.62-1~dotdeb.0 packages.dotdeb.org:stable [amd64])
Inst libaio1 (0.3.107-7 Debian:6.0.5/stable [amd64])
Conf mysql-client-5.5 (5.5.24-1~dotdeb.1 packages.dotdeb.org:stable [amd64])
Conf mysql-client (5.5.24-1~dotdeb.1 packages.dotdeb.org:stable [all])
Conf mysql-server-core-5.1 (5.1.62-1~dotdeb.0 packages.dotdeb.org:stable [amd64])
Conf libaio1 (0.3.107-7 Debian:6.0.5/stable [amd64])
For nginix dot-deb is necessary, as u pointed out in your howto.
Issuing apt-get upgrade in ssh iI get simply:
apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  mysql-client mysql-client-5.1 mysql-server mysql-server-5.1 mysql-server-core-5.1
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
what do u suggest? I keep mysql 5.1 or i try to remove it?
In this case i have to remove and reinstall, i tried to upgrading but i got:

apt-get install  mysql-client mysql-client-5.1 mysql-server mysql-server-5.1 mysql-server-core-5.1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mysql-client : Depends: mysql-client-5.5 but it is not going to be installed
 mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Broken packages
i fixed it with:
apt-get -f install
Reply With Quote
Old 15th August 2012, 15:35
arraken arraken is offline
Senior Member
Join Date: Mar 2010
Posts: 106
Thanks: 17
Thanked 5 Times in 5 Posts

Hi all,
iíve already read in the forums that itís not Ąeasilyď possible to switch from ispconfig 3 with apache to ispconfig 3 with nginx and php-fpm, but if I still wanted to do it, how should I proceed? This is what I have in mind:

I have a server running with ispconfig 3 and apache. Itís a live-server with around 10 clients on it, with around 20 domains and the same amount of email-accounts. I know that I can not simply uninstall apache and install nginx because of the different configuration files of the existing sites etc. But what if I did the following:

1. Backup the www directory and all dbís (of course.. )
2. Uninstall apache and php
3. Uninstall ispconfig 3
4. Install nginx and php-fpm
5. Reinstall ispconfig 3
6. create all client accounts from scratch in ispconfig (including websites, ftp accounts email and databases)
7. copy the backed up content of the www directory to the according folders created by ispconfig with nginx

Do you think this could work? Or is it much more complicated than that?
Another problem that I would have to tackle is e-mail: the login information would have to stay the same for my customers. Is there some way to import the e-mail settings of my clients into the new isp-config installation, after Iíve created the clients and domains the same way they were in the old ispconfig installation?

Iím thinking of trying this out on a test-platform (which I would have to set up first). But before I do that, I wanted to know if itís possible at all, of if itís a waste of my time and too complicated. Or if thereís a better and faster way than the one I described.

I would be grateful for any answers or tips!
Reply With Quote
Old 16th August 2012, 09:36
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: LŁneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Basically this could work, but you'd also have to modify the server table in the ISPConfig database so that ISPConfig knows it's using nginx.

Personally, I'd set up the system from scratch again as it doesn't seem to be much more work than the procedure you described, and you have a clean system that will work with nginx.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 20:02
ubuntu and nginx delgado2061 Installation/Configuration 0 28th November 2011 00:36
issues in /var/log/apache2/error.log denpark Installation/Configuration 1 22nd November 2011 10:12
Problem with ispconfig 3 staff007 Installation/Configuration 4 10th October 2011 22:17
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 14:06

All times are GMT +2. The time now is 06:15.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.