If you receive an error message stating that Lighttpd was compiled without PCRE (Perl Compatible Regular Expression) support when starting Lighttpd, it means that the Lighttpd binary was compiled without the PCRE library. The PCRE library is required for Lighttpd to support regular expressions in configuration files.
To fix this error, you will need to recompile Lighttpd with PCRE support. To do this, you will need to install the PCRE library on your system and then recompile Lighttpd.
sudo apt-get install libpcre3-dev
Download the latest version of Lighttpd from the Lighttpd website (https://www.lighttpd.net/).
Extract the downloaded tarball and navigate to the extracted directory.
Run the following commands to configure, compile, and install Lighttpd with PCRE support:
./configure --with-pcre make sudo make install
lighttpd
command. The error message should no longer appear.