PHP错误代码整理

configure error:

1.configure: error: xml2-config not found. Please check your libxml2 installation.

解决:

1

<span style="color: #ff0000"># yum install libxml2 libxml2-devel</span>

2.configure: error: Cannot find OpenSSL's <evp.h>

解决:

1

<span style="color: #ff0000"># yum install openssl openssl-devel</span>

3.configure: error: Please reinstall the BZip2 distribution

解决:

1

<span style="color: #ff0000"># yum install bzip2 bzip2-devel</span>

4.configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/

解决:

1

<span style="color: #ff0000"># yum install libcurl libcurl-devel</span>

5.If configure fails try --with-webp-dir=<DIR> configure: error: jpeglib.h not found.

解决:

1

<span style="color: #ff0000"># yum install libjpeg libjpeg-devel</span>

6.If configure fails try --with-webp-dir=<DIR>

checking for jpeg_read_header in -ljpeg... yes

configure: error: png.h not found.

解决:

1

<span style="color: #ff0000"># yum install libpng libpng-devel</span>

7.If configure fails try --with-webp-dir=<DIR>

checking for jpeg_read_header in -ljpeg... yes

checking for png_write_image in -lpng... yes

If configure fails try --with-xpm-dir=<DIR>

configure: error: freetype-config not found.

解决:

1

<span style="color: #ff0000"># yum install freetype freetype-devel</span>

8.configure: error: Unable to locate gmp.h

解决:

1

<span style="color: #ff0000"># yum install gmp gmp-devel</span>

9.configure: error: mcrypt.h not found. Please reinstall libmcrypt.

解决:

  # yum install libmcrypt libmcrypt-devel

10.configure: error: Please reinstall readline - I cannot find readline.h

解决:

1

<span style="color: #ff0000"># yum install readline readline-devel</span>

11.configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

解决:

1

<span style="color: #ff0000"># yum install libxslt libxslt-devel</span>

猜你喜欢

转载自blog.csdn.net/a1779078902/article/details/82502145