CentOs7用phpize安装mcrypt扩展时遇到错误

来源:互联网 发布:php exec 返回1 编辑:程序博客网 时间:2024/05/20 14:23

出现错误提示:

Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.


只要安装php-devel 就能解决

yum install php-devel

再执行phpize就正常生成configure 文件


0 0
原创粉丝点击