LiteSpeed & Plesk & PHPSuExec Problem

#1
Hi ,

We have an hosting server with Plesk 8.4.0 for linux hosting control panel. We have installed the latest version of LiteSpeed to this server and bind it to 2080 tcp port. We have set the :

PHP suEXEC Yes
PHP suEXEC Max Conn 10

When we try to upload an image using a php script its uploading the file with apache users ownership . When we check the processes lsphp4 processes on the server all the processes are running with apache web user :

19784 apache 18 0 19708 1840 1208 S 0 0.0 0:00.00 lsphp4

Could you please help me why the suExec is not running ?

Some tips are : I can see the plesk vhosts configurations on the litespeed logs and they are all loaded successfully :

2008-09-04 11:29:53.345 INFO Processing config file: /var/www/vhosts/****.com/conf/httpd.include
2008-09-04 11:29:53.345 INFO Processing config file: /var/www/vhosts/*******.com/conf/httpd.include

When I check the virtual hosts on the litespeed admin control panel i cant see any virtual hosts which are already in plesk .

Best regards
 

mistwang

LiteSpeed Staff
#2
Can you please check the virtual host configuration file, looking for configuration directives like

User xxxx
Group xxxxx

or

SuexecUserGroup xxx xxxx

or

suPHP_UserGroup xxx xxxx


Right now LiteSpeed does not honor "suPHP_UserGroup" yet, so if it is used in the configuration file, it will not not work with LiteSpeed, we will address that in 3.3.18 release.

If none of above directives are used, we need to figure out how to choose suEXEC user/group. maybe based on the owner of the document root directory of a vhost.
 
#3
well you know plesk is using mod_php directly . None of these directives exist in the httpd conf files. But I think I have figured out with some event driven scripts. My problem is resolved now :)

Best regards,
 

mistwang

LiteSpeed Staff
#4
So, PHP suEXEC works now?

Is there an option in Plesk to enable CGI suEXEC, or suphp? If it is available, if may allow Plesk to generate configurations required when you turn it on.
 
#5
Yes its working now without problems. Checking for other incompatilibilites between plesk and litespeed then purchase the licenses.

Best regards,
TarkanVeKurdu
 
Top