postcd

Well-Known Member
Oct 22, 2010
721
21
68
Hello,

an cpanel user told me his Open Classifieds script dont let him upgrade to new 2.3.0 version

There is mentioned this as a cause:
Can not check if mod_rewrite installed, probably everything is fine. Try to proceed with the installation anyway ;)
PCRE has not been compiled with UTF-8 support.
PCRE has not been compiled with Unicode property support.

so i did on my WHM server: #pcretest -C
and result:
PCRE version 7.8 2008-09-05
Compiled with
UTF-8 support
Unicode properties support
but when i go to my PHP info, i see there:
pcre

PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 8.36 2014-09-26
OS: CentOS release 6.6 (Final)
PHP: PHP 5.3.29 (cli) (built: Nov 15 2014 12:52:07)

Please what is the issue there? How can i fix it please? Thank you
 
Last edited:

JacobPerkins

Well-Known Member
May 2, 2014
617
97
103
cPanel Access Level
DataCenter Provider
Twitter
Good morning,

What version of Apache are you running? Apache should be linking to the PCRE that was built into /opt/, which does support UTF-8 and Unicode.

I'd recommend running EasyApache to rebuild your PHP and Apache, and that should link to the proper PCRE binaries. If this still doesn't work after that, please open a support ticket (there's links in my signature) and we'll be more than happy to take a look.
 

postcd

Well-Known Member
Oct 22, 2010
721
21
68
Server version: Apache/2.2.29 (Unix)
Cpanel::Easy::Apache v3.28.1 rev9999

cPanel support tried to build apache again and the Open CLassifieds script still complain. Got an message that its fault in the script, not the server issue.
 

JacobPerkins

Well-Known Member
May 2, 2014
617
97
103
cPanel Access Level
DataCenter Provider
Twitter
Hello,

This could very well be the issue. EA will build in UTF-8 and Unicode support by default with PCRE. If OpenClassifieds are not picking that up, perhaps they are not using the correct PCRE binary, which would require a change to the script or to the defining location of PCRE.

If you get this figured out, please do update the thread so that future searches may turn up an answer.

Thanks!