今天搭建LAMP环境是编译PHP时出现的错误汇总。
错误:
| 1 | configure: error: xml2-config not found. Please check your libxml2 installation. |
解决办法:
| 1 | yum |
错误:
| 1 | configure: error: Cannot |
解决办法:
| 1 | yum |
错误:
| 12 | checking |
解决办法:
| 1 | yum |
错误:
| 1 | configure: error: png.h not found. |
解决办法:
| 1 | yum |
错误:
| 1 | configure: error: freetype.h not found. |
解决办法:
| 1 | yum |
错误:
| 1 | configure: error: mcrypt.h not found. Please reinstall libmcrypt. |
解决办法:
| 12 | rpm -ivh |
错误:
| 1 | configure: error: jpeglib.h not found. |
解决办法:
| 1 | yum |
错误:
| 1 | configure: error: png.h not found. |
解决办法:
| 1 | yum |
错误:
| 12 | configure: error: Cannot |
解决办法:
| 1 | yum |



