PCRE库版本太旧 [英] PCRE libraries version is too old

查看:1049
本文介绍了PCRE库版本太旧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在错误精灵3需要PCRE librairies 8.0或更高版本。你有
  版本7.8 2008-09-05。更新您的系统免受最新版本
  你平常的来源。

The Bug Genie 3 requires PCRE librairies 8.0 or later. You have version 7.8 2008-09-05. Update your system to the latest release from your usual sources.

我看待问题后,并尝试通过以下几个步骤来更新我的PCRE库:

after i look at the problem and try to update my pcre libraries with the following step:

wget the latest source of pcre from sourceforge 8.31

# tar -xzf pcre-8.31.tar.gz
# cd pcre-8.31
# ./configure --enable-utf8  --enable-unicode-properties
# make && make install

当我这样做pcretest -C
我得到这个

when i do pcretest -C i got this

[root@server1 /]# pcretest -C
PCRE version 8.31 2012-07-06
Compiled with
  8-bit support only
  UTF-8 support
  Unicode properties support
  No just-in-time compiler support
  Newline sequence is LF
  \R matches all Unicode newlines
  Internal link size = 2
  POSIX malloc threshold = 10
  Default match limit = 10000000
  Default recursion depth limit = 10000000
  Match recursion uses stack

当我做定位,有很多

and when i do locate, there are a lot

[root@server1 /]# locate libpcre
/lib64/libpcre.so.0
/lib64/libpcre.so.0.0.1
/usr/lib64/libpcrecpp.so.0
/usr/lib64/libpcrecpp.so.0.0.0
/usr/lib64/libpcreposix.so.0
/usr/lib64/libpcreposix.so.0.0.0
/usr/local/lib/libpcre.a
/usr/local/lib/libpcre.la
/usr/local/lib/libpcre.so
/usr/local/lib/libpcre.so.1
/usr/local/lib/libpcre.so.1.0.1
/usr/local/lib/libpcrecpp.a
/usr/local/lib/libpcrecpp.la
/usr/local/lib/libpcrecpp.so
/usr/local/lib/libpcrecpp.so.0
/usr/local/lib/libpcrecpp.so.0.0.0
/usr/local/lib/libpcreposix.a
/usr/local/lib/libpcreposix.la
/usr/local/lib/libpcreposix.so
/usr/local/lib/libpcreposix.so.0
/usr/local/lib/libpcreposix.so.0.0.1
/usr/local/lib/pkgconfig/libpcre.pc
/usr/local/lib/pkgconfig/libpcrecpp.pc
/usr/local/lib/pkgconfig/libpcreposix.pc

最后,我向支持我的PHP信息愉快..它仍然显示我安装的版本7.8。

finally, i backed to my php info happily.. it still show me version 7.8 installed.

可我知道我应该怎么做,而开源应用buggenie需要用它来解决这个问题。 THX的答复。

May i know what should i do to solve this while the open source application buggenie need this . Thx for reply.

推荐答案

我认为你必须使用来手动构建针对最新的PCRE库PHP - 与 - PCRE正则表达式= DIR 选项。要做到这一点,你需要获得PHP源和PCRE来源,以及可能需要的所有其他库的来源。

I think you have to manually build PHP against newest PCRE library using --with-pcre-regex=DIR option. To do so, you need to obtain the PHP sources and PCRE sources, as well as sources of all other libraries you might need.

该网页。 http://php.net/manual/en/pcre.installation。 PHP 总结了与PHP捆绑PCRE的版本。

This page http://php.net/manual/en/pcre.installation.php summarizes versions of PCRE bundled with PHP.

要容易得多的选择将使用您的操作系统的包管理器来更新PHP(可能是通过使不稳定的仓库),但这取决于你的操作系统。

The much easier option would be updating PHP using package manager of your OS (perhaps by enabling unstable repositories), but this depends on your OS.

这篇关于PCRE库版本太旧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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