ronaldt mendes wrote:

>Oi pessoal, estou tentando instalar o mediawiki em meu freebsd, so que esta 
>dando esse erro: MediaWiki 1.5.2 installation
>  Please include all of the lines below when reporting installation problems.
>Checking environment...
>PHP 4.3.10: ok
>PHP server API is apache; ok, using pretty URLs (index.php/Page_Title)
>Have XML / Latin1-UTF-8 conversion support.
>PHP's memory_limit is 60M. If this is too low, installation may fail! 
>Fatal error: Call to undefined function: preg_match() in 
>/usr/local/www/data-dist/mediawiki/config/index.php on line 283
>   
>  Tenho que reinstalar o php?
>   
>  Alguem tem um how to como instalar o wiki em freebsd?
>  Grato
>  
>

Adicione isso no httpd.conf e reinicie o apache:
php_flag register_globals On

Ou então altere o php.ini e habilite o register_globals.

O mediawiki precisa disso para funcionar, mas é bom lembrar que isso é 
um certo risco de segurança.. leia http://www.php.net/register_globals e 
decida se você quer ou não deixar o register_globals habilitado.

Att.,
Rainer Alves
BrasilTelecom


_______________________________________________
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br

Responder a