LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > Migration from Apache to Litespeed

Reply
 
Thread Tools Display Modes
  #1  
Old 05-24-2011, 12:42 PM
Yogesh Sarkar Yogesh Sarkar is offline
Member
 
Join Date: May 2009
Posts: 43
Default Migration from Apache to Litespeed

I have a Quad core dedicated server from Wiredtree, which is running Apache 2.2.x and mod_php 3.3.x and I am thinking of migrating to Litespeed, mainly to speed up the loading time of my websites, since the server barely hits 50% load, even in peak time.

Now the thing is, I am running few wordpress blogs, an IPB forum and a large vBulletin forum with vBSEO. All these sites are using mod-rewrite and vBulletin forum's rewrite rules have been added to the httpd.conf to boost performance.

That vBulletin forum also sees a lot of attachment (mainly images) uploads (we have around 150k attachments) and these images are then resized and saved to the hdd and displayed inline i.e. we do not convert them to thumbnail.

Some of these attachments over time, have been saved with nobody ownership.

Additionally, not everyone resizes the images before uploading them. So we will have people who are uploading set of images (restricted to 10 per uploading cycle, but no restriction on the number of images a user can upload in a post) after images, which are in full resolution and can take anywhere from 5 to 20-30minutes to upload and get posted (depending on user connection speed and number of images).

With this in mind (especially the last bit), how painful/painless would a switchover to Litespeed be and what possible issues can I bump into?

Additionally, with the above in mind, in which form should I get the php complied as from the Wiredtree staff and is there any specific instruction I need to give them?

Also, the image quality even at 90% isn't all that great, so which image package should I get installed for resizing?
Reply With Quote
  #2  
Old 05-24-2011, 03:59 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
LSWS can be treated as a drop-in for Apache, so not much effort needed to migrate from Apache to LSWS. Please refer to following documents for the needed steps.

Migration
=======
http://www.litespeedtech.com/support...pache:other_cp

Installation
========
http://www.litespeedtech.com/docs/webserver/install/

Build PHP in LSWS
===============
Once LSWS is installed, you need to build matching PHP within LSWS so that PHP in LSWS (LSPHP) has the same function/extension support as the one in Apache. We have following documents help you go through that process.

http://www.litespeedtech.com/support...wiki:php:lsapi
http://www.litespeedtech.com/support...i:troubleshoot

License
======
Enterprise (commercial) edition is tied to license. You can start a trial license which is 2-CPU equivalent and upgrade to 4 CPU license at any time.

http://www.litespeedtech.com/support...ense_to_choose

Not quite sure about image package. What package are you currently using?
Reply With Quote
  #3  
Old 05-24-2011, 08:24 PM
Yogesh Sarkar Yogesh Sarkar is offline
Member
 
Join Date: May 2009
Posts: 43
So the php will continue to run as nobody if I get it installed as mod_php in Litespeed? Also, will I need to get XCache uninstalled since I would be using the same version of php and thus they would installed at the same directory?

Using GD 2.2.1 for image manipulation.
Reply With Quote
  #4  
Old 05-24-2011, 09:27 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,295
need build matching php for litespeed, need rebuild xcache as well. php and xcache for apache still be there in case you fail back to apache.

in general, you can run both litespeed and apache in parallel for some time. litespeed listen to port 2080(for example) and apache listen to port 80.
Reply With Quote
  #5  
Old 05-26-2011, 02:41 AM
Yogesh Sarkar Yogesh Sarkar is offline
Member
 
Join Date: May 2009
Posts: 43
Thanks Nitewave, don't really want to run Apache in parallel. Would prefer a complete switchover and have talked to the Wiredtree guys, will be taking the plunge on this weekend.
Reply With Quote
  #6  
Old 02-21-2012, 08:47 PM
KenSlelfCof KenSlelfCof is offline
New Member
 
Join Date: Feb 2012
Location: Russia
Posts: 1
Default Migration from Apache to Litespeed

Hi,

Im trying to set up a site on a separate drive from the Apache install, but I get a permissions error when I try to access it. I.e. I have some sites and Apache on c: but want this site on e:.

Ive put an entry into httpd-vhosts.conf that points to the site. I presume theres something else I need to consider but not sure what..
Reply With Quote
  #7  
Old 02-22-2012, 10:51 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
are you using Windows (drive c: and e: )? it is not supported here.
Reply With Quote
Reply

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


All times are GMT -7. The time now is 02:25 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.