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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Install on CentOS5.5, Plesk, need to work with vBulletin

Reply
 
Thread Tools Display Modes
  #11  
Old 03-31-2011, 01:08 PM
Alan_SP Alan_SP is offline
Member
 
Join Date: Mar 2011
Posts: 18
Yes, I could use trial license, but also I'd like to know what caused the problem and why. Obviously there's a lot of junk vhost, I need to know to recognize them and delete them. What are they? I have 5 files in /var/www/vhosts/mysite.com/conf directory. Are they the problematic config files?

I removed old ones, left only most recent. What I do know?
Reply With Quote
  #12  
Old 03-31-2011, 01:13 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
No, you should not remove any configuration, it may break plesk completely, even though those vhosts are pretty much useless.
Get a trial, then reinstall lsws with PHP enabled.
Reply With Quote
  #13  
Old 03-31-2011, 01:14 PM
Alan_SP Alan_SP is offline
Member
 
Join Date: Mar 2011
Posts: 18
Ok, I try that.
Reply With Quote
  #14  
Old 03-31-2011, 01:17 PM
Alan_SP Alan_SP is offline
Member
 
Join Date: Mar 2011
Posts: 18
I just disabled apache configuration and then enabled it again. This is erros I have now:

Quote:
2011-03-31 22:15:00.673 WARN [] can't set 'Forced Type', undefined MIME Type handler/default-handler
2011-03-31 22:15:18.057 ERROR [95.178.253.117:4051-0#APVH_slobodni.com] MIME type [application/x-httpd-php] for suffix '.php' does not allow serving as static file, access denied!
The last one is new...
Reply With Quote
  #15  
Old 03-31-2011, 01:47 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
When you install LSWS, you have to have "PHP" enabled, otherwise, you will get that error, after installation, build PHP5 will get you going.

You should run install.sh again and select reinstall.
Reply With Quote
  #16  
Old 03-31-2011, 01:52 PM
Alan_SP Alan_SP is offline
Member
 
Join Date: Mar 2011
Posts: 18
That could be the reason for my problems.

I had declined to have PHP installed at first, wanting to install it later (as i did). I'll try reinstall, accept PHP installed at start and after that compile latest version of PHP.

I'll report here with results when I do that.
Reply With Quote
  #17  
Old 04-01-2011, 08:01 PM
Alan_SP Alan_SP is offline
Member
 
Join Date: Mar 2011
Posts: 18
Ok, I reinstalled Litespeed, now I enabled php from the beginning and now some things work, some things don't. For example, it loads php 5.3.6 that I compiled from the last time (I now that because it uses directories I said to use for configuration files). But it doesn't start my vBulletin forum. And also reports too many vhosts.

The problem, at least in some respect was not installing PHP from the start.
Reply With Quote
  #18  
Old 04-01-2011, 08:33 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,220
if you only have one vhost, and mainly test vBulletion, suggest not to read httpd.conf which managed by plesk. that only increase the complexity.

when install standard or trial litespeed, do not choose any control panel.

after installation, create a virtual host in admin console for vBulletin, build lsphp5, install vBulletin -- the vBulletion should be up quickly.
Reply With Quote
  #19  
Old 04-01-2011, 08:46 PM
Alan_SP Alan_SP is offline
Member
 
Join Date: Mar 2011
Posts: 18
Well, I must say that creating vhost for me it's too advanced a feat to take it.

On the bright side, I just managed to get my vBulletin to work. I completly uninstalled Litespeed, manually removed all files left behind (mainly php files), then I installed it again, choose to have php from the start, compiled PHP (5.2.17, the same as with apache), but I left out this:

--with-mysqli=shared,/usr/bin/mysql_config

Probably this wrong mysqli configuration caused vBulletin not to start (I just had blank screen). Now it started, but I need to setup xcache (need to see where the xcache.so is).

I need Plesk, as I use it for protecting directories and other things. I need to have it running with Litespeed.

The biggest problem was not enabling PHP from the very start. You probably should stress it out, I thought that I would be able to compile PHP later, but it didn't went well enough.
Reply With Quote
  #20  
Old 04-01-2011, 09:17 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,220
using --with-mysqli instead of --with-mysqli=shared,/usr/bin/mysql_config to get it easier.

run phpinfo(), search "extension_dir", xcache.so should be there.
Reply With Quote
Reply

Tags
centos, php, plesk, vbulletin, xcache

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 11:46 PM.



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