cd cd /usr/ports/lang/php5 make WITH_APACHE22=yes install
3- Configurando o PHP Instalando o PHP pelo ports pico /usr/local/etc/apache/httpd.conf 4- Adcione as as seguinte linha dentro do seu arquivo de configuração httpd.conf: pico /usr/local/etc/apache2/httpd.conf AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps 5- Agora é só procurar a linha que contém o DirectoryIndex: DirectoryIndex index.html e mudar para: DirectoryIndex index.php index.html index.htm Eu tentei isso mas nao funcionou para mim. E instalando apache pelo ports do php, ai vem o apache 1.3 ou coisa assim. Eu acho melhor tentar um pouco mais no apache 2.2 e ver se sai. Obrigado pelas dicas ateh agora ... --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd