|
|

03-31-2011, 01:08 PM
|
|
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?
|

03-31-2011, 01:13 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,585
|
|
|
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.
|

03-31-2011, 01:14 PM
|
|
Member
|
|
Join Date: Mar 2011
Posts: 18
|
|
|
Ok, I try that.
|

03-31-2011, 01:17 PM
|
|
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...
|

03-31-2011, 01:47 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,585
|
|
|
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.
|

03-31-2011, 01:52 PM
|
|
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.
|

04-01-2011, 08:01 PM
|
|
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.
|

04-01-2011, 08:33 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,218
|
|
|
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.
|

04-01-2011, 08:46 PM
|
|
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.
|

04-01-2011, 09:17 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,218
|
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:03 AM.
|
|