URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID8
Нить номер: 5383
[ Назад ]

Исходное сообщение
"при инсталяции phpBB ошибка"

Отправлено yurts , 23-Ноя-07 16:41 
Fatal error: Call to undefined function: preg_match() in /usr/local/www/data-dist/forum/install/install.php on line 206

собственно строка 206:        
if (preg_match('#' . $match . '#i', trim($accept_lang_ary[$i])))
ну не волоку я в этом а шеф хочет форум в своей сети.

FreeBSD 6.2 phpBB2.0.2.2 и всё ПО из портов.

подскажите плилиз кде чего копать


Содержание

Сообщения в этом обсуждении
"при инсталяции phpBB ошибка"
Отправлено angra , 23-Ноя-07 18:28 
PHP собран без PCRE?
Beginning with PHP 4.2.0 these functions are enabled by default. You can disable the pcre functions with --without-pcre-regex. Use  --with-pcre-regex=DIR to specify DIR where PCRE's include and library files are located, if not using bundled library. For older versions you have to configure and compile PHP with --with-pcre-regex[=DIR] in order to use these functions.

"при инсталяции phpBB ошибка"
Отправлено yurts , 29-Ноя-07 15:39 
>PHP собран без PCRE?
>Beginning with PHP 4.2.0 these functions are enabled by default. You can
>disable the pcre functions with --without-pcre-regex. Use  --with-pcre-regex=DIR to specify
>DIR where PCRE's include and library files are located, if not
>using bundled library. For older versions you have to configure and
>compile PHP with --with-pcre-regex[=DIR] in order to use these functions.

Спасибо, переустановка PCRE мода помогла