[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problema LAMP - PHP4 e PHP5



Felipe...

você é o cara.

resolver meu problema.
Agora voltou para o problema antigo.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Apache/2.2.3 (Debian) PHP/5.2.0-8+etch1 Server at phpmyadmin.kikacolorida.net Port 80


Se tiver alguma ideia.
agradeço

att
Gustavo


Em 20/04/07, Filipe Gomes <filipe.esperandio@gmail.com> escreveu:
Cara,

tenta:

#apt-get install --reinstall apache2 lib-apache2-mod-php5 mysql-server-5.0 php5 php5-mysql phpmyadmin

Depois verifica aqueles link simbólicos novamente.
E vemos o que acontece.

Abraços.

Filipe





On 4/18/07, Gustavo Carvalho < gustavo.grupos@gmail.com> wrote:
Ja tentei desinstalar assim, mas ele nao permite.
diz que tem varios outros pacotes usando este pacote.

Att
Gustavo


Em 18/04/07, Alberto Viana <albertogviana@gmail.com> escreveu:
Cara remove tudo esse erro ja deu comigo e reinstala

remove com o purge:
#aptitude purge "~napache2"
#aptitude purge "~nmysql"
#aptitude purge "~nphp5" os que você tiver instalado 4 e/ou 5

depois reinstala:
#aptitude update
#aptitude install apache2 lib-apache2-mod-php5
#aptitude install mysql-server-5.0
#aptitude install php5 php5-mysql
#aptitude install phpmyadmin

Tenta isso aí.




---------- Forwarded message ----------
From: Gustavo Carvalho < gustavo.grupos@gmail.com>
Date: Apr 18, 2007 1:45 PM
Subject: Re: Problema LAMP - PHP4 e PHP5
To: Filipe Gomes <filipe.esperandio@gmail.com >
Cc: Silvino Silva < silvino.silva@gmail.com>, debian-user-portuguese@lists.debian.org

Eu tentei fazer isso tb.
Na verdade tava tendo este problema.
Tinha instalado o LAMP com (APACHE2 + MYSQL5 + PHP5)
Logo depois instalei o PHPMYADMIN e tive este erro.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Apache/2.2.3 (Debian) PHP/5+etch1 Server at 10.1.0.1 Port 80

PAra tentar resolver mandei remover os pacotes do php5 e instalar o php4.
Ai que começou a dar estes problemas.

Agora nao consigo mais coltar com o 5 ou arrumar o 4.

Att
Gustavo




Em 18/04/07, Filipe Gomes <filipe.esperandio@gmail.com> escreveu:
Esses tempos tive um problema parecido, como não tinha a necessidade do php5 desinstalei ele e instalei só o php4...





On 4/18/07, Silvino Silva <silvino.silva@gmail.com> wrote:

Faça links simbólicos no mods-enable apontando para os arquivos referentes ao php que estão em mods-available, reinicie o apache e veja o que aconteceu!

cd /etc/apache2/mods-enable
ln -s ../mods-available/php5.load
ln -s ../mods-available/php5.conf
/etc/init.d/apache2 reload



Podes usar os seguintes comandos

a2enmod Para activar modulo
a2dissite  Para desactivar modulo

no fundo o que estes dois comandos fazem é criar os links, mas se não der um nome, ele lista todos os módulos disponíveis.

Boa sorte




--
Alberto Guimarães Viana
http://albertogviana.gelivre.com
msn: albertogviana@gmail.com
e-mail: albertogviana@gmail.com

"Não basta saber, é preciso também aplicar; não basta querer, é preciso também agir."
Goethe




Reply to: