Location of configuration files

Various configurations files are located at different places, there structure is defined below.


Litespeed

/usr/local/lsws/conf/httpd_config.conf
/usr/local/lsws/conf/phpconfigs/php53.conf
/usr/local/lsws/conf/phpconfigs/php54.conf
/usr/local/lsws/conf/phpconfigs/php55.conf
/usr/local/lsws/conf/phpconfigs/php56.conf
/usr/local/lsws/conf/phpconfigs/php70.conf

Virtual Hosts

/usr/local/lsws/conf/vhosts/<Domain>


FTP

/etc/pure-ftpd
/etc/pure-ftpd/pure-ftpd.conf

DNS

/etc/pdns
/etc/pdns/pdns.conf
1 Like

You forgot to add the docker config location, where all docker apps are in folders.

/var/lib/docker

1 Like

I think the Litespeed php config path is wrong. That path doesn’t even exist for me (and also doesn’t list anything past 7.0).

I found 7.4. at /usr/local/lsws/lsphp74/etc/php/7.4/litespeed/php.ini

Is this correct? If so, lets update these paths.

Also, for Virtual Hosts, within the domain’s subfolder of the provided path, I see the following files:

vhost.conf
vhost.conf0
vhost.conf0,v
vhost.conf.txt

Which would I modify?

Also, the user listed is lsadm. What would happen if I modified it via the root user in SSH?