
Diede
(usa Debian)
Enviado em 04/06/2008 - 15:04h
O Pacote que faltava:
http://www.4shared.com/file/50120751/a7b9de82/php_e_libxmltar.html
Instalando:
Esses pacotes já incluem o módulo php para o apache2, php 5.2.6 e libxml 2.6.30
Estão em dois arquivos: modulo_php_apache2.tar.bz2 e php_e_libxml.tar.bz2
Para "instalar" (como root):
Descompacte o modulo_php_apache2.tar.bz2 no diretório "modules" de onde instalou o apache.
O php_e_libxml.tar.bz2 tem toda a estrutura em /usr que deve ser formada, então, descompacte com:
bunzip2 < php_e_libxml.tar.bz2 | tar xf - -v -C /
(dê o comando acima como root)
Para por o módulo para funcionar no apache:
no httpd.conf adicione estas linhas:
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
E substitua essas:
<IfModule dir_module>
DirectoryIndex index.html index.cgi
</IfModule>
Por essas:
<IfModule dir_module>
DirectoryIndex index.php index.htm index.html index.cgi
</IfModule>
Reinicie o apache, e veja se funcionou.