Depois de instalar o apache2 ele funciona bem, mas se reinstalar o php5 que o servidor não funciona, se eu tento acessar http://127.0.0.1
a dar o erro 500, ou um arquivo da pasta www, se eu tentar acessar uma pasta ou um arquivo de uma pasta tudo funciona bem.
Erro 500 detalhes:
GET http://127.0.0.1/test.php
500 Internal Server Error Запрос GET /test.php HTTP/1.1 User-Agent:
Opera/9.80 (X11; Linux x86_64) Presto/2.12.388 Version/12.16 Host:
localhost Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 Accept-Language: ru,en;q=0.9
Accept-Encoding: gzip, deflate
Pragma: no-cache
Cache-Control: no-cache
Connection: Keep-Alive
Ответ HTTP/1.0 500 Internal Server Error
Date: Sun, 13 Oct 2013 19:16:25 GMT
Server: Apache/2.2.22 (Ubuntu)
X-Powered-By: PHP/5.4.9-4ubuntu2.3
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 20
Content-Type: text/html
Não é erro 500:
GET http://127.0.0.1/css/
200 OK
GET /css/ HTTP/1.1
User-Agent: Opera/9.80 (X11; Linux x86_64) Presto/2.12.388 Version/12.16
Host: localhost Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: ru,en;q=0.9
Accept-Encoding: gzip, deflate
Connection: Keep-Alive Ответ HTTP/1.1 200 OK Date: Sun, 13 Oct 2013 19:21:38 GMT
Server: Apache/2.2.22 (Ubuntu)
Vary: Accept-Encoding
Content-Encoding: gzip Content-Length: 648 Keep-Alive: timeout=5,max=99
Content-Type: text/html;charset=UTF-8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> [...]