https://bugzilla.wikimedia.org/show_bug.cgi?id=58213
Web browser: ---
Bug ID: 58213
Summary: Warning: preg_match(): Compilation failed: assertion
expected after (?( at offset 115 in
/var/www/html/w/includes/utils/IP.php on line 88
Product: MediaWiki
Version: 1.23-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Installer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
When trying to install MediaWiki on CentOS 5 (using the packaged version of PHP
5.3.3), I got the following error:
Creating administrator user account... Warning: preg_match(): Compilation
failed: assertion expected after (?( at offset 115 in
/var/www/html/w/includes/utils/IP.php on line 88 Warning: preg_match():
Compilation failed: assertion expected after (?( at offset 115 in
/var/www/html/w/includes/utils/IP.php on line 88 done
This is probably because of gerrit 66304, which rendered the regex
RE_IPV6_ADD incompatible with the PCRE 6.6 that comes with CentOS 5,
though CentOS 6 should be fine.
So we have two options:
* decide not to support PHP binaries that are built to use a system
version of PCRE older than 7.2, adding to the installer a check for
this; or
* revert the change.
In either case, the patch should be backported to 1.22.
--
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