Litespeed and DirectAdmin

#1
Hello,

I have DirectAdmin and LiteSpeed on my server but i have problem suphp exec doesn't work.

Script run on apache user

This is my httpd.conf

Code:
<VirtualHost xxx:80 >
        ServerName www.test.com
        ServerAlias www.test.com test.com
        ServerAdmin webmaster@test.com
        DocumentRoot /home/test/domains/test.com/public_html
        ScriptAlias /cgi-bin/ /home/test/domains/test.com/public_html/cgi-bin/
        UseCanonicalName OFF
        <IfModule !mod_ruid2.c>
                SuexecUserGroup test test
        </IfModule>
        CustomLog /var/log/httpd/domains/test.com.bytes bytes
        CustomLog /var/log/httpd/domains/test.com.log combined
        ErrorLog /var/log/httpd/domains/test.com.error.log
        <Directory /home/test/domains/test.com/public_html>
                suPHP_Engine ON
                suPHP_UserGroup test test
        </Directory>
</VirtualHost>
 

NiteWave

Administrator
#2
in fact, directives
suPHP_Engine ON
suPHP_UserGroup test test
and
SuexecUserGroup test test
etc are ignored by litespeed.

litespeed's way to enable php suEXEC:
lsws web admin --> Server -> General -> PHP suEXEC: Yes (or User's Home Directory Only -- this may be recommended for DirectAdmin User).
You must select "No" which have lsphp running as apache user.
 
#3
I have:

Running As user(apache) : group(apache)

and

PHP suEXEC User's Home Directory Only

PHPShell still show uid=498(apache) gid=500(apache) groups=500(apache),503(access)



"You must select "No" which have lsphp running as apache user."

where is this option ?
 
#5
I changed this value but php still works on apache user :(
Cagefs also does not work.
In Apache server all it's OK

My settings

Cloud Linux: CageFS
PHP suEXEC: ( I tried everything ) NO / Yes / User's Home diectory
 
Top