De boa, mas nao tem nda bugado no php dele.
O erro anterior o preg_match eh exatamente com relacao ao Perl Compatible
Regular Expression, que é modularizado no ports.
Já o eputenv não tem nda a ver diretamente com o php, pois não faz parte do
PHP, não é uma função built-in.

Niggas, sugiro que você verifique todas as dependencias do seu script sarg,
se as diretivas de inclusao estão certas no arquivo de configuração.

Você já verificou o tutorial para o sarge que existe no site oficial pra
saber se fez tudo certinho?

http://www.zago.eti.br/squid/sarg.html

[]s

William


On 7/4/07, Mario Augusto Mania <[EMAIL PROTECTED]> wrote:
>
> Niggas, assim, de boa, esse teu php4 tah meio bugadaum hein cara....
>
> Nao seria hora de fazer um UP e jah botar o php5 de vez? mais facil de
> gerenciar as extensoes e mais estavel.
>
> Em 04/07/07, Niggas<[EMAIL PROTECTED]> escreveu:
> > Isso, olhei no php.net e instalei, o erro parou de acontecer o problema
> > agora é que aparece o erro:
> >
> > [Wed Jul 04 08:11:53 2007] [error] [client xxx.xx.xxx.xxx] PHP Fatal
> error:
> > Call to undefined function: eputenv() in
> > /usr/local/www/apache22/data/sarg-php/language.php on line 27, referer:
> >
> http://xxx.xxx.xx.x/squid-reports/29Jun2007-29Jun2007/192.168.1.100/192.168.1.100.html
> >
> > E quando coloco essa função no google ele não retorna nada, ai já bate
> > aquele medo.
> >
> > Niggas.
> >
> > Em 04/07/07, Giancarlo Rubio <[EMAIL PROTECTED]> escreveu:
> > >
> > > /usr/ports/devel/php4-pcre/
> > >
> > > Em 04/07/07, Niggas<[EMAIL PROTECTED]> escreveu:
> > > > Giancarlo,
> > > >
> > > > Estou utilizando o PHP 4.4.7, sendo assim, o pacote php5-cre não
> > > resolve,
> > > > para falar a verdade esse pacote nem existe o mais parecido que
> > > localizei
> > > > fica em /usr/ports/databases/php5-creole.
> > > >
> > > > Desde já agradeço a ajuda, o erro continua apresentando, alguém
> possuí
> > > outra
> > > > solução para bloqueio de sites via web utilizando ou o squidguard ou
> o
> > > squid
> > > > ?
> > > >
> > > > Niggas.
> > > >
> > > > Em 02/07/07, Giancarlo Rubio <[EMAIL PROTECTED]> escreveu:
> > > > >
> > > > > Instale
> > > > >
> > > > > /usr/ports/deve/php5-cre
> > > > >
> > > > > Em 30/06/07, Niggas<[EMAIL PROTECTED]> escreveu:
> > > > > >    Fiz alguns testes agora e o erro passou a aparecer:
> > > > > > [Sat Jun 30 08:23:48 2007] [error] [client 201.62.128.150] PHP
> Fatal
> > > > > error:
> > > > > > Call to undefined function: preg_match() in
> > > > > > /usr/local/www/apache22/data/sarg-php/language.php on line 9,
> > > referer:
> > > > > >
> > > > >
> > >
> http://xxx.xxx.xx.x/squid-reports/29Jun2007-29Jun2007/192.xxx.x.xxx/192.xxx.x.xxx.html
> > > > > >
> > > > > >
> > > > > > Em 30/06/07, Niggas <[EMAIL PROTECTED]> escreveu:
> > > > > > >
> > > > > > > Bom dia,
> > > > > > >
> > > > > > >    Em um dos clientes surgiu a necessidade de colocar um
> bloqueio
> > > de
> > > > > sites
> > > > > > > via web. No Debian coloquei um funcionando da seguinte
> maneira, o
> > > > > cliente
> > > > > > > acessa o relatório do sarg e vê uma página que gostaria de
> > > bloquear,
> > > > > então
> > > > > > > clica em um x vermelho do lado da página que gostaria de
> bloquear,
> > > > > logo
> > > > > > > depois vem uma janela com as bases do squidguard, por exemplo,
> > > addons,
> > > > > porn
> > > > > > > e outro tipo de páginas. Sendo assim o usuário escolhe em qual
> > > banco
> > > > > quer
> > > > > > > adicionar clicando em cima é pronto o site já foi adicionado
> no
> > > banco
> > > > > do
> > > > > > > squidguard e quando executar o update o mesmo já passa a
> bloquear
> > > o
> > > > > site.
> > > > > > >    Estou tentando colocar a mesma estrutura em um FreeBSD
> porém
> > > quando
> > > > > > > clico no x vermelho a página retorna um erro 404 é no log de
> erro
> > > do
> > > > > apache
> > > > > > > aparece a seguinte mensagem:
> > > > > > > [Sat Jun 30 08:06:42 2007] [error] [client 201.xx.xxx.xxx] PHP
> > > Fatal
> > > > > > > error:  Call to undefined function: bindtextdomain() in
> > > > > > > /usr/local/www/apache22/data/sarg-php/language.php on line 34,
> > > > > referer:
> > > > > > >
> > > > >
> > >
> http://xxx.xxx.xx.x/squid-reports/29Jun2007-29Jun2007/192.x.x.x/192.x.x.x.html
> > > > > > >    Será que o pacote do ports do FreeBSD está bugado ? Fiz a
> mesma
> > > > > rotina
> > > > > > > no Debian e funcionou. Alguma sugestão ?
> > > > > > >
> > > > > > > Niggas.
> > > > > > >
> > > > > > -------------------------
> > > > > > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > > > > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Giancarlo Rubio
> > > > >
> > > > > "Linux is for people who hate Windows,
> > > > > BSD is for people who love UNIX"
> > > > > 100% Rwindow$-Free
> > > > > Freebsd-BR User #88
> > > > > -------------------------
> > > > > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > > > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> > > > >
> > > > -------------------------
> > > > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> > > >
> > >
> > >
> > > --
> > > Giancarlo Rubio
> > >
> > > "Linux is for people who hate Windows,
> > > BSD is for people who love UNIX"
> > > 100% Rwindow$-Free
> > > Freebsd-BR User #88
> > > -------------------------
> > > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> > >
> > -------------------------
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >
>
>
> --
> Atenciosmente
>
> Mario Augusto Mania <m3BSD>
> -----------------------------------------------
> [EMAIL PROTECTED]
> Cel.: (43) 9938-9629
> Msn: [EMAIL PROTECTED]
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>



-- 
William Grzybowski
------------------------------------------
// a light in the black, or just fear of the dark //
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Responder a