PCRE libraries version is too old

前端 未结 4 2157
悲哀的现实
悲哀的现实 2021-02-10 04:53

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.

相关标签:
4条回答
  • 2021-02-10 05:21

    On my Centos 5.9 I could upgrade pcre from 6.* to 8.* no problem but could not get it "recognised" by PHP or Apache. Problem solved itself by upgrading php53 to php54

    0 讨论(0)
  • 2021-02-10 05:24

    On Centos 5.9 a modified version of drmanalo's steps worked for us:

    1. Search for existing pcre
      rpm -q --queryformat "%{name}.%{arch}\n" pcre
    2. Remove all existing pcre using --nodeps
      rpm -ev --nodeps pcre-devel.x86_64
      rpm -ev --nodeps pcre.x86_64
      rpm -ev --nodeps pcre-devel.i386
      rpm -ev --nodeps pcre.i386
    3. Added repository
      nano /etc/yum.repos.d/utter-ramblings.repo

      [utter-ramblings]
      name=Utter Ramblings
      baseurl=http://www.jasonlitka.com/media/EL5/x86_64/
      gpgkey=#same.url.as.above#/media/RPM-GPG-KEY-jlitka
      enabled=1
      gpgcheck=1

    4. Installed using yum
      yum --disablerepo=* --enablerepo=utter-ramblings install pcre pcre-devel
    5. Restart your web service and check phpinfo

    0 讨论(0)
  • 2021-02-10 05:36

    I'm Centos 6.3 user. This worked in my case.

    1. Search for existing pcre.

      rpm -qa | grep pcre
      
    2. Remove all existing pcre using --nodeps.

    3. Download pcre rpm higher than 8.x. I used one from http://rpmfind.net/linux/rpm2html/search.php?query=pcre

    4. Install it using rpm.

    5. Restart your web service and check phpinfo. It should reveal the pcre libraries you just installed.

    0 讨论(0)
  • 2021-02-10 05:37

    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.

    This page http://php.net/manual/en/pcre.installation.php summarizes versions of PCRE bundled with 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.

    0 讨论(0)
提交回复
热议问题