diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-08 13:37:45 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-08 13:37:45 -0800 |
commit | 42463e160d6672f6e5e458a22ddae79b62fa39bf (patch) | |
tree | e0733a6cbb4d2bac34c2a8fc604e32e5363b41f7 /install.php | |
parent | ef3991dbbe0acdba2dd7050b99f951ccfe5b8258 (diff) | |
parent | 7e7d88831cf8b3e8876499b86890da2e63b08c97 (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/install.php b/install.php index 8c9b6138b..929277e5e 100644 --- a/install.php +++ b/install.php @@ -301,6 +301,19 @@ function checkPrereqs() $pass = false; } + // Look for known library bugs + $str = "abcdefghijklmnopqrstuvwxyz"; + $replaced = preg_replace('/[\p{Cc}\p{Cs}]/u', '*', $str); + if ($str != $replaced) { + printf('<p class="error">PHP is linked to a version of the PCRE library ' . + 'that does not support Unicode properties. ' . + 'If you are running Red Hat Enterprise Linux / ' . + 'CentOS 5.4 or earlier, see <a href="' . + 'http://status.net/wiki/Red_Hat_Enterprise_Linux#PCRE_library' . + '">our documentation page</a> on fixing this.</p>'); + $pass = false; + } + $reqs = array('gd', 'curl', 'xmlwriter', 'mbstring', 'xml', 'dom', 'simplexml'); |