Apenas uma dica: se voc� verificar os docs do php n�o � aconselhavel instalar o php com o apache2 em ambiente de produ��o:
"Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows. " http://php3.de/manual/pt_BR/install.apache2.php []'s Emanoel ----- Original Message ----- From: Augusto Flavio <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 11:55 PM Subject: [FUGSPBR] Error apache2 + PHP > Ola, > > > Instalei o apache2 e ao tentar instalar o php obtive a seguinte msg ao > executar o "make" > > file://-------Inicio---------------------- > sapi_apache2.c: In function `php_register_hook': > sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter' > makes pointer from integer without a cast > sapi_apache2.c:534: too few arguments to function > `ap_register_output_filter' > sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter' > makes pointer from integer without a cast > sapi_apache2.c:535: too few arguments to function `ap_register_input_filter' > *** Error code 1 > > Stop in /usr/home/rotter/php-4.2.1/sapi/apache2filter. > *** Error code 1 > > Stop in /usr/home/rotter/php-4.2.1/sapi/apache2filter. > *** Error code 1 > > Stop in /usr/home/rotter/php-4.2.1/sapi. > *** Error code 1 > > Stop in /usr/home/rotter/php-4.2.1. > freebsd# > file://-------Fim---------------------- > > Compilei meu apache 2 assim: > ./configure --enable-so > make > make install > > meu php4.2.1 assim: > ./configure --with-apxs2=/usr/local/apache2/bin/apxs > make (obtive erro aqui) > make install > > Alguem sabe como eu arrumo isso? a msg fala q tem poco argumento p/ a funcao > ap_register_output_filter e a ap_register_input_filter > > > funcao php_register_hook > > file://----------inicio------------------ > static void php_register_hook(apr_pool_t *p) > { > ap_hook_post_config(php_apache_server_startup, NULL, NULL, > APR_HOOK_MIDD > LE); > ap_hook_insert_filter(php_insert_filter, NULL, NULL, > APR_HOOK_MIDDLE); > ap_hook_post_read_request(php_post_read_request, NULL, NULL, > APR_HOOK_MIDDLE > ); > ap_register_output_filter("PHP", php_output_filter, > AP_FTYPE_RESOURCE); file://-- erro aqui > ap_register_input_filter("PHP", php_input_filter, > AP_FTYPE_RESOURCE); file://-- erro aqui > } > file://----------fim------------------ > > Obrigado! > > --------------------- > Augusto Flavio > [EMAIL PROTECTED] > --------------------- > > _______________________________________________________________________ > Busca Yahoo! > O melhor lugar para encontrar tudo o que voc� procura na Internet > http://br.busca.yahoo.com/ > _______________________________________________________________ > Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr > Historico: http://www4.fugspbr.org/lista/html/FUG-BR/ _______________________________________________________________ Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
