$ cp -f /usr/local/lsws/lsphp80/bin/php /usr/bin/
$ cd ~
$ apt-get install libmagickwand-dev pkg-config build-essential lsphp80-dev
$ wget -O timezonedb.tar.gz https://github.com/php/pecl-datetime-timezonedb/archive/refs/tags/RELEASE_2023_1.tar.gz
$ tar vxzf timezonedb.tar.gz
$ cd pecl-datetime-timezonedb-RELEASE_2023_1
$ sh rebuild.sh && ./configure && make clean && make
$ make install
$ echo "extension=timezonedb.so" >> /usr/local/lsws/lsphp80/etc/php/8.0/mods-available/01-timezonedb.ini
$ touch /usr/local/lsws/admin/tmp/.lsphp_restart.txt
$ systemctl restart lsws
$ ls /usr/local/lsws/lsphp80/lib/php/20200930/
do you see timezonedb.so ?