PCRE without UTF support but why?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

PCRE without UTF support but why?

Postby reza.irdev » 29. May 2017 07:46

Hello
I've installed Xampp on ubuntu 16 on /opt/lampp. today when i installing wordpress it says "WordPress database error: [Got error 'this version of PCRE is compiled without UTF support at offset 0' from regexp]"
Checked
Code: Select all
pcretest -C
from lampp/bin folder here is the result:
PCRE version 8.40 2017-01-11
Compiled with
8-bit support
No UTF-8 support
No 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
Parentheses nest limit = 250
Default match limit = 10000000
Default recursion depth limit = 10000000
Match recursion uses stack


How i can install PCRE with UTF support?
reza.irdev
 
Posts: 1
Joined: 29. May 2017 07:40
XAMPP version: latest
Operating System: ubuntu 16

Re: PCRE without UTF support but why?

Postby Nobbie » 29. May 2017 11:07

1. Download PCRE 8.40 from https://sourceforge.net/projects/pcre/f ... p/download
2. Unzip the package, start a terminal and "cd .." into the new folder pcre-8.40
3. Run "configure" with appropriate options: ./configure --prefix=/opt/lampp --enable-utf8 --enable-unicode-properties
4. Then run "make"
5. Then run "sudo make install"

Reboot your Linux and restart Xampp.
Nobbie
 
Posts: 9694
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests