Professional Documents
Culture Documents
Serwer Linux Guide
Serwer Linux Guide
- sudo ln -s /etc/apache2/sites-available/nowastrona.conf
/etc/apache2/sites-enabled/nowastrona.conf (tworzymy
skrot, aby aktywowac strone)
5. Konfiguracja PHP (wraz ze skryptem):
- sudo apt install php
- sudo a2enmod userdir
- systemctl restart apache2
- mkdir ~/public_html
- chmod 0755 ~/public_html
- touch ~/public_html/index.html
- nano ~/public_html/index.html
- sudo chmod 751 /home/administrator/
- edycja php conf: