Jesdisciple
August 10th, 2008, 07:26 PM
I'm seeing symptoms similar but different to those I described at XAMPP Crippled by KDE? (http://ubuntuforums.org/showthread.php?t=881392) (By the way, the stuff about redirecting was incorrect. An HTML file was in the server root; I was looking in the wrong folder.)
No files give any content in the browser. All of them are simply downloaded; no PHP is ever parsed. And although that HTML file that tricked me before is now deleted, Apache continues to serve it normally if I request the root (localhost/). If I explicitly request it (localhost/index.html), I get 404.
This is the only thing I know to post; the second command was involved in solving that other problem.chris@Jesdisciple-laptop:~$ sudo /etc/init.d/apache2 stop
* Stopping web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[ OK ]
chris@Jesdisciple-laptop:~$ sudo netstat -n -atp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 5264/mysqld
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 18469/smbd
tcp 0 0 0.0.0.0:20433 0.0.0.0:* LISTEN 6354/python
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 5186/cupsd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 18469/smbd
tcp 0 0 127.0.0.1:20433 127.0.0.1:45457 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45450 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45456 TIME_WAIT -
tcp 0 0 192.168.1.64:55683 64.233.167.18:80 ESTABLISHED 4595/firefox
tcp 0 0 192.168.1.64:36955 72.14.223.18:80 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45464 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45447 TIME_WAIT -
tcp 0 0 192.168.1.64:55278 66.151.149.78:80 ESTABLISHED 4595/firefox
tcp 0 0 127.0.0.1:20433 127.0.0.1:45449 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45460 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45465 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45461 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45448 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45459 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45463 TIME_WAIT -
chris@Jesdisciple-laptop:~$
No files give any content in the browser. All of them are simply downloaded; no PHP is ever parsed. And although that HTML file that tricked me before is now deleted, Apache continues to serve it normally if I request the root (localhost/). If I explicitly request it (localhost/index.html), I get 404.
This is the only thing I know to post; the second command was involved in solving that other problem.chris@Jesdisciple-laptop:~$ sudo /etc/init.d/apache2 stop
* Stopping web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[ OK ]
chris@Jesdisciple-laptop:~$ sudo netstat -n -atp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 5264/mysqld
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 18469/smbd
tcp 0 0 0.0.0.0:20433 0.0.0.0:* LISTEN 6354/python
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 5186/cupsd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 18469/smbd
tcp 0 0 127.0.0.1:20433 127.0.0.1:45457 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45450 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45456 TIME_WAIT -
tcp 0 0 192.168.1.64:55683 64.233.167.18:80 ESTABLISHED 4595/firefox
tcp 0 0 192.168.1.64:36955 72.14.223.18:80 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45464 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45447 TIME_WAIT -
tcp 0 0 192.168.1.64:55278 66.151.149.78:80 ESTABLISHED 4595/firefox
tcp 0 0 127.0.0.1:20433 127.0.0.1:45449 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45460 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45465 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45461 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45448 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45459 TIME_WAIT -
tcp 0 0 127.0.0.1:20433 127.0.0.1:45463 TIME_WAIT -
chris@Jesdisciple-laptop:~$