On Thu, Oct 16, 2003 at 12:39:59AM -0300, Ernesto Melo wrote: > Oi pessoal. > ... > > Compilado e instalado: > /usr/ports/lang/php4/work/php-4.2.3 > /usr/ports/www/apache2/work/httpd-2.0.43 > /usr/ports/www/mod_php4/work/php-4.2.3 >
Vers�es mais atuais no ports: Port: apache-2.0.47 Port: php4-4.3.3 Port: mod_php4-4.3.3,1 Port: php4-cli-4.3.3 Se olhar a descri��o do pacote "/usr/ports/lang/php4" (cd /usr/ports; make search name=php4) ver� que ao instalar este, voc� j� instala o "mod_php4"). Ainda, n�o basta instalar o php, tem de configurar o apache: # cat /usr/ports/www/mod_php4/pkg-message ***************************************************************************** You have installed the mod_php4 package. Have a look at the mod_php4 port if you need additional extensions other than CTYPE, MYSQL, OVERLOAD, PCRE, POSIX, SESSION, TOKENIZER, XML and ZLIB. You can find it at ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/ports/www/mod_php4.tar Make sure index.php is part of your DirectoryIndex. You should add the following to your Apache configuration file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps ***************************************************************************** Ainda, confira se tem a linha LoadModule php4_module libexec/apache2/libphp4.so no httpd.conf, al�m das duas indicadas pelo port... -- Ricardo Campos Passanezi - Administrador de Rede Chave PGP e GPG P�blica em: http://www.ige.unicamp.br/~riccp Instituto de Geoci�ncias - http://www.ige.unicamp.br - UNICAMP _______________________________________________________________ Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
