Instalowałem za pomocą apt-get. Linuksa dopiero się uczę. Teraz wpisałem polecenie
sudo apt-get install httpd*
Coś wreszcie ruszyło, ponieważ pojawia się domyślny dokument w html. Jednak skrypty PHP chce zapisywać. Chciałem zrestartować Apache, ale pojawia mi się coś takiego
Cytat
Syntax error on line 9 of /etc/apache2/sites-enabled/000-default:
<Directory> directive missing closing '>'
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
Linia 9 to:
Cytat
<Directory /home/user/WWW/
Kiedy zamykam znacznik Directory, pojawia mi się coś takiego:
Cytat
* Restarting web server apache2 Warning: DocumentRoot [/home/user/WWW/] does not exist
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Warning: DocumentRoot [/home/user/WWW/] does not exist
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
[fail]
Popełniłem błąd- stworzyłem folder www w profilu admina a nie suera i dlatego odnalezienie ścieżki nie było możliwe. Teraz jednak naprawiłem ten błąd i... dalej nic:
Cytat
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
[fail]