php7 with webp di,报错解决:安装PHP7解决问题方法

configure error:

```

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

解决:

```

$ yum install libxml2 libxml2-devel

```

2.configure: error: Cannot find OpenSSL's

解决:

```

$ yum install openssl openssl-devel

```

3.configure: error: Please reinstall the BZip2 distribution

解决:

```

$ yum install bzip2 bzip2-devel

```

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

解决:

```

$ yum install libcurl libcurl-devel

```

5.If configure fails try --with-webp-dir=

解决:

```

$ yum install libjpeg libjpeg-devel

```

6.If configure fails try --with-webp-dir=

checking for jpeg_read_header in -ljpeg... yes

configure: error: png.h not found.

解决:

```

$ yum install libpng libpng-devel

```

7.If configure fails try --with-webp-dir=

checking for jpeg_read_header in -ljpeg... yes

checking for png_write_image in -lpng... yes

If configure fails try --with-xpm-dir=

configure: error: freetype-config not found.

解决:

```

$ yum install freetype freetype-devel

```

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

解决:

```

$ yum install gmp gmp-devel

```

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

解决:

```

$ yum install readline readline-devel

```

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

解决:

```

$ yum install libxslt libxslt-devel

```

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值