Jump to content

WHMCS Migration - Win2008r2 to Linux


CCSupport

Recommended Posts

Hello all,

 

We need to be full PCI Compliant and our WHMCS installation is currently on a Windows server. It's proving difficult to lock down as we host a few other sites on the server....

 

So, it looks like we're going to have to migrate to a dedicated Linux distribution with no other sites bar the WHMCS one. Same domain etc.

 

Has anyone done this before? I've read a load on migration but wondered if there's anything different from Win to Linux?

 

I'm guessing it's a simple ish process of installing WHMCS on Linux, backing up db and then importing it to new host....

 

Any thoughts?

 

Might even pay someone to do it if I can.

Link to comment
Share on other sites

Hello!

 

Windows to Linux should be an easy transition.

 

The main things to watch out for are PHP Versions, and any custom rewrite rules you have if you are using IIS with a PHP handler. If you are using Apache inside of Windows, the transition should be easy.

 

You'll need to stick with the latest version of PHP 5.4, beyond that it's only as complicated as you make it.

 

The standard web server setup for Linux is Apache, MySQL, and PHP. There are various guide out there to walk you through doing this. If you are using CentOS 5, or 6 the default PHP should be PHP 5.3.x. If you choose Debian/Ubuntu, they are currently shipping with PHP Version 5.5 which isn't supported for WHMCS. You will need to downgrade to PHP 5.4 if you are using those distros.

 

Once you have your LAMP stack installed, the next thing to do is enable IonCube. This involves downloading the correct IonCube loader for your PHP Version, and enabling it in your php.ini. Again, there are hundreds of guides out there to assist you along the way.

 

If everything goes well, upload your WHMCS files and restore your WHMCS database backup. The final step would be to reissue your WHMCS license (http://docs.whmcs.com/Licensing). After all that, you should have a functioning WHMCS instance on your new Linux server

Link to comment
Share on other sites

Thanks Patrick, really helpful.

 

I am happy re the Linux installation, config. We are looking at php 5.4.5 and Centos6.

 

Looks like it will be straightforward. The main check was to make sure there wasn't any gremlins hiding. One thing that we hadn't thought about was the custom rewrite rules...however as we use Helicon Ape on the Windows Servers it hopefully will be pretty straightforward for the .htaccess code.

 

Thanks for cleaning up the thread too, much appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated