Mudanças entre as edições de "Configuração Apache+PHP"
Ir para navegação
Ir para pesquisar
(New page: ===Mandriva=== ===Ubuntu===) |
(→Ubuntu) |
||
Linha 2: | Linha 2: | ||
===Ubuntu=== | ===Ubuntu=== | ||
+ | apt-get install apache2 php5 | ||
+ | |||
+ | Editar /etc/apache2/apache2.conf | ||
+ | DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml | ||
+ | |||
+ | Editar etc/apache2/ports.conf | ||
+ | Listen 80 | ||
+ | Listen 443 | ||
+ | |||
+ | Ativar modulos | ||
+ | a2enmod ssl | ||
+ | a2enmod rewrite | ||
+ | a2enmod suexec | ||
+ | a2enmod include | ||
+ | |||
+ | Reinicializar | ||
+ | /etc/init.d/apache2 restart |
Edição das 13h15min de 9 de julho de 2008
Mandriva
Ubuntu
apt-get install apache2 php5
Editar /etc/apache2/apache2.conf
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml
Editar etc/apache2/ports.conf
Listen 80 Listen 443
Ativar modulos
a2enmod ssl a2enmod rewrite a2enmod suexec a2enmod include
Reinicializar
/etc/init.d/apache2 restart