https://bugzilla.wikimedia.org/show_bug.cgi?id=58213

--- Comment #3 from Antoine "hashar" Musso <[email protected]> ---
I guess the CentOS version of PHP is compiled with a specific PCRE version
which is most probably the one coming with the OS instead of the one bundled
within PHP.



Kevin can you run `php -i` and paste there the 'pcre' section? Example output
for me (Mac OS X):

  pcre

  PCRE (Perl Compatible Regular Expressions) Support => enabled
  PCRE Library Version => 8.02 2010-03-19

Directive => Local Value => Master Value
pcre.backtrack_limit => 1000000 => 1000000
pcre.recursion_limit => 100000 => 100000


On a Precise instance having php5 5.3.10-1ubuntu3.8+wmf2

PCRE Library Version => 8.12 2011-01-15


Can you also paste the result of `ldd /usr/bin/php |fgrep pcre`. Again on
Precise that yields:

  libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f6a65e75000)

Then use readlink against the /lib.. file to find out the version:

 $ readlink /lib/x86_64-linux-gnu/libpcre.so.3
 libpcre.so.3.12.1
 $


And the version of libpcre has given by rpm or yum :-D



PHP 5.3.3 (out in July 2010) comes with bundled PCRE version 8.0.  Additionally
CentOS package does not use the expected pcre version so I am afraid this bug
is going to be a WONTFIX.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to