Correct, I installed PHP 5.2.10 from EPEL repository.

However, it's not related to PHP, but to the pcre binaries on the OS itself. I.e., running "pcretest -C" on a standard system will show this:

[funkypeng...@davidy ~]$ pcretest -C
PCRE version 6.6 06-Feb-2006
Compiled with
  UTF-8 support
*  No Unicode properties support*
  Newline character is LF
  Internal link size = 2
  POSIX malloc threshold = 10
  Default match limit = 10000000
  Default recursion depth limit = 10000000
  Match recursion uses stack
[funkypeng...@davidy ~]$

But after rebuilding pcre RPM with the correct --configure option, it shows this: (and hashtags work)

[r...@vm-statusnet scripts]# pcretest -C
PCRE version 6.6 06-Feb-2006
Compiled with
  UTF-8 support
*  Unicode properties support*
  Newline character is LF
  Internal link size = 2
  POSIX malloc threshold = 10
  Default match limit = 10000000
  Default recursion depth limit = 10000000
  Match recursion uses stack
[r...@vm-statusnet scripts]#

D

On 21/03/10 11:53 PM, Jan Wildeboer wrote:
Which PHP version do you use? And from which repository?

AFAIR we ship PHP 5.1 in RHEL5, which shouldn't be sufficient for statusnet.

Thus you must be using some PHP from another repo - Remi? EPEL? Because this
might be worth discussing with the repo manager/PHP maintainer for that
repo?

Jan

----- Original Message -----
From: [email protected]
<[email protected]>
To: [email protected]<[email protected]>
Sent: Sun Mar 21 04:29:40 2010
Subject: [StatusNet-dev] PCRE without unicode support on RHEL/CentOS5 
breakshashtagsHi all,

After several hours of tearing my hair out, I've discovered something
interesting...

*The regex which matches hashtags won't work on standard RHEL/CentOS5,
because PCRE is complied without unicode support.*

_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to