: This article describes how to configure pcre in windows. if you are interested in the PHP Tutorial, refer to it.
1. configure the MSYS environment 1). Introduction Minimal GNU (POSIX) system on Windows is a small GNU environment, including basic bash and make. It is the best GNU environment in Windows. 2) installation Download MSYS (kernel ). Follow the prompts to install. 2. compile pcre1), download pcre (ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/) 2), copy the PCRE source package directly to the MSYS Directory (such as: C: \ MSYS \ 1.0 \ pcre \) run msys. bat starts MSYS and enters cd/ // Return to the root directory cd pcre // Enter the PCRE Directory./configure // Configure and compile make // After compilation is complete, it will be in C: \ MSYS \ 1.0 \ pcre \. libs \ to generate the required File: libpcre-0.dll // dynamic link library libpcre PCRE. dll. a // call LIBlibpcre used by the dynamic link library of PCRE. a // The PCRE static link library works with "pcre" under the C: \ MSYS \ 1.0 \ pcre \ directory. h ", you can add a regular expression in the program to support it :)
The above introduces the configuration of pcre in windows, including some content, and hope to be helpful to friends who are interested in PHP tutorials.