sudo pecl install apc返回错误 [英] sudo pecl install apc returns error

查看:126
本文介绍了sudo pecl install apc返回错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行命令:sudo pecl install apc

下载文件,配置成功,然后启动make,并且出现以下错误.

The file gets downloaded, the configuration succeeds, then make is launched and I get the following error.

/usr/include/php5/ext/pcre/php_pcre.h:29: fatal error: pcre.h: No such file or directory

有办法解决吗?

推荐答案

PCRE是安装APC的依赖项.您可以使用

PCRE is a dependency for installing APC. You can install it pretty quick with

yum install pcre-develapt-get install libpcre3-dev

安装完成后,重新运行

sudo pecl install apc

这篇关于sudo pecl install apc返回错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆