Install failed on CentOS 5.3

Fragment of a discussion from Project:Support desk
Jump to: navigation, search
Edited by another user.
Last edit: 13:15, 17 July 2012

Here is error log:

[Mon Jul 16 20:20:59 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/
[Mon Jul 16 20:20:59 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/
[Mon Jul 16 20:20:59 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/
[Mon Jul 16 20:20:59 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/
[Mon Jul 16 20:21:00 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/
[Mon Jul 16 20:21:00 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/
[Mon Jul 16 20:21:07 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:07 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:08 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  preg_split() [<a href='function.preg-split'>function.preg-split</a>]: Compilation failed: support for \\P, \\p, and \\X has not been compiled at offset 192 in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1483, referer: https://www.xxx.com/wiki/mw-config/index.php
[Mon Jul 16 20:21:09 2012] [error] [client 89.164.121.2] PHP Warning:  array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /var/www/vhosts/xxx.com/httpsdocs/wiki/includes/parser/Parser.php on line 1484, referer: https://www.xxx.com/wiki/mw-config/index.php

Does that help?

89.164.121.218:33, 16 July 2012

Might it be that it's some UTF problem with php? Does it have to do with this: http://www.mediawiki.org/wiki/Thread:Project:Support_desk/MediaWiki_v1.19.1_installation:_Compilation_failed:_support_for_%5CP,_%5Cp,_and_%5CX_has_not_been_compiled ?

89.164.121.218:39, 16 July 2012

I believe it is the UTF problem. If possible try to recompile php so that PCRE has full unicode support (or use a package other than default centos package)

Bawolff (talk)13:15, 17 July 2012

I installed version 1.16 instead. It works. It's a shame that new version doesn't work.

89.164.177.11522:08, 17 July 2012

Anything new on this? Can I update to new version of mediawiki?

89.164.196.21212:40, 12 January 2013