Rename config. H. Generic to config. h.Set the have_bcopy parameter to 0 (because the Windows platform does not have the bcopy () function)Rename PCRE. H. Generic to PCRE. h.Rename pcre_chartables.c.dist to pcre_chartables.c.Compile dftables. C to
Ea003317441nl 1. Check whether Prce is installed on centos. If Prce is installed, the PCRE version is displayed. [[Email protected]/] #Rpm-Qa PCREPcre-7.8-6.el6.i686 2. Delete the PCRE package[[Email protected]/] #Rpm-e -- nodeps PCRE [[Email
Recently, a project developed on the Windows platform requires regular expressions. Of course, you can implement a Regexp by yourself, but it is too painful and technically unavailable. Therefore, I have given priority to the open source library.
1. Download the required packages (this download link is verified by the author to use):wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gzwget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gzwget wget
1. Install pcre-devel
Yum-y install gcc-c ++ rpm-build mysql * php * automake autoconf libtool make -- skip-broken
Pcre is the pcre-devel library required by Nginx. The pcre Library is installed to enable Nginx to support the HTTPRewrite module.
PC:
1. install the latest version of the PCRE library before installing nginx... 1. install the PCRE library before installing nginx
Latest ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
Tar-zxvf pcre-8.21.tar.gz, unzipped Directory: pcre-8.2
At the time of installing pcre-8.13.tar.gz wrong, said is missing libpcre.so.0 below is the solution. It's not easy. Oh, a problem is not solved, the new problem comes out. Tied up, will die.ErrorGrep:error while loading shared libraries:libpcre.so.0
One. Nginx InstallationNginx can be installed using the default packages of each platform, this article is to introduce the use of source code compilation installation, including specific compilation parameters information.Before the official start,
"Ready to Work"#在编译安装lnmp之前, first uninstall the existing RPM package.
The code is as follows
Copy Code
RPM-E httpdRPM-E MySQLRpm-e PHPYum-y Remove httpdyum-y Remove Mysql-server MySQLYum-y Remove PHPYum-y Remove
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.