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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > LSWS Plesk Configuration Problem

Reply
 
Thread Tools Display Modes
  #1  
Old 01-22-2010, 01:43 PM
devyn devyn is offline
New Member
 
Join Date: Jan 2010
Posts: 2
Default LSWS Plesk Configuration Problem

Hi,
My vps is hosting with Plesk Panel.
First of all, I followed this tutorial - litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:apachelesk - from litespeed wiki to install and replace apache with litespeed.
Secondly, I compiled php from admin page as the same version as I checked which is 5.1.6.
As the result, I got working litespeed web server but looks like mysql connection is lost with my wordpress which is working just before installing litespeed.
I didn't change anything to my wp-config file and I've doubled check that my db name, user and password are correct and those db are working in Plesk panel.
Another problem is when I check phpinfo, php version shows 4.4.9 with only little components. Can I use the previous compiled php 5.1.6?
I'm lost here and waiting someone to help me.

Thanks in advance

Last edited by devyn; 01-22-2010 at 01:50 PM..
Reply With Quote
  #2  
Old 01-22-2010, 02:20 PM
devyn devyn is offline
New Member
 
Join Date: Jan 2010
Posts: 2
I'm not sure this is a right way.
I changed mysqli.default_socket = /var/lib/mysql/mysql.sock value in php.ini from lsws folder.
I restart the server and it works now.
Is there any chance I can use previous php 5.1.6?
Reply With Quote
  #3  
Old 01-25-2010, 05:31 AM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,218
it should be possible.

ls -l /path/to/lsws/fcgi-bin/lsphp*

to check lsphp5 link to which php binary.

also make sure .php is handled by lsphp5 external app.
to check this:

lsws web admin console -->Server -->Script Handler
Reply With Quote
  #4  
Old 01-25-2010, 09:38 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Quote:
Originally Posted by devyn View Post
I'm not sure this is a right way.
I changed mysqli.default_socket = /var/lib/mysql/mysql.sock value in php.ini from lsws folder.
I restart the server and it works now.
Is there any chance I can use previous php 5.1.6?
Just check phpinfo() output, you may get different value for mysqli.default_socket when different mysql libraries are linked. what you have done is correct.
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 08:36 AM.



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