Strona 1 z 3
XAMPP a LAMP
: 22 kwietnia 2017, 09:18
autor: pawelk29
Witam
Zaczynam kurs Mysql i mam zainstalowanego LAMP a w kursie z którego się uczę Jest zainstalowany XAMPP.
Stroan z której korzystam to
http://miroslawzelent.pl/kurs-mysql/php ... ce-select/
i 32 minucie jest kopiowanie pewnegokatalogu do htdocs a takiego katalogu nie ma w /var/www. Jak kpiuje katalog który jest pod filmikiem do /var/www/quiz nie działa localhost/quiz.
Re: XAMPP a LAMP
: 22 kwietnia 2017, 10:09
autor: dedito
Re: XAMPP a LAMP
: 22 kwietnia 2017, 10:14
autor: pawelk29
tez próbowałem i nic z tego
Re: XAMPP a LAMP
: 22 kwietnia 2017, 10:53
autor: dedito
Co próbowałeś?
Re: XAMPP a LAMP
: 22 kwietnia 2017, 10:55
autor: pawelk29
Wrzócić katalog quiz do katalogu /var/www i potem uruchomić plik index.php wpisujc w przeglądarce localhost/quiz/index.php
Re: XAMPP a LAMP
: 22 kwietnia 2017, 10:57
autor: dedito
A wyświetla się coś po wpisaniu localhost?
Re: XAMPP a LAMP
: 22 kwietnia 2017, 11:00
autor: pawelk29
wyświetla sie strona apache Apache2 Debian Default Page
Re: XAMPP a LAMP
: 22 kwietnia 2017, 11:09
autor: dedito
Utwórz sobie w /var/www plik.php z zawartością
i uruchom w przeglądarce.
Re: XAMPP a LAMP
: 22 kwietnia 2017, 11:11
autor: pawelk29
ten plik działa tylko po umieszczeniu go w /var/www/html
Re: XAMPP a LAMP
: 22 kwietnia 2017, 11:18
autor: dedito
No bo to jest zapewne Twój katalog główny.
Jak przeniesiesz quiz do tego katalogu to powinno działać.
Pisze to nawet na domyślnej stronie:
This is the default welcome page used to test the correct operation of the Apache2 server after installation on Debian systems. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server.