Ich habe XAMPP 1.5.3 erfolgreich gemäß dieser Anleitung auf Ubuntu 12.04 installiert und es startete ohne Fehler.
$ sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.5.3a...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
Aber wenn ich http://localhost/
öffne oder http://127.0.0.1/
In Firefox bekomme ich die Meldung Verbindung nicht möglich Fehler.
Nachdem ich keinen Erfolg hatte, habe ich den Port in httpd.conf
geändert wie hier beschrieben ab 80
bis 81
und versucht, http://localhost:81/
zu öffnen und http://127.0.0.1:81/
, aber ich habe das gleiche Ergebnis.
Bearbeiten
Die Ausgabe von netstat -tlnp
:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 23369/mysqld
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 23352/proftpd: (acc
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 20196/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 929/cupsd
tcp6 0 0 ::1:631 :::* LISTEN 929/cupsd
tcp6 0 0 ::1:44166 :::* LISTEN 23848/java
Akzeptierte Antwort:
Gemäß der Ausgabe von netstat
, kann der Apache-Webserver den Überwachungsport nicht öffnen. Sie sollten die neueste Version von XAMPP herunterladen und den Anweisungen auf der Website folgen.
Wenn XAMPP mit der Standardkonfiguration ausgeführt wird, sollte die Ausgabe in etwa so aussehen:
[email protected]:~$ sudo netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 5235/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5701/httpd
tcp6 0 0 :::21 :::* LISTEN 22965/proftpd: (acc