Lighttpd as you compiled without pcre support error and solution

www.la‮.iruttu‬com
Lighttpd as you compiled without pcre support error and solution

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.

  1. Install the PCRE library by running the following command:
sudo apt-get install libpcre3-dev
  1. Download the latest version of Lighttpd from the Lighttpd website (https://www.lighttpd.net/).

  2. Extract the downloaded tarball and navigate to the extracted directory.

  3. Run the following commands to configure, compile, and install Lighttpd with PCRE support:

./configure --with-pcre
make
sudo make install
  1. Once the installation is complete, you can start Lighttpd with the lighttpd command. The error message should no longer appear.
Created Time:2017-10-29 22:08:50  Author:lautturi