Rechtesystem und Readmes überarbeitet
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
# Lokaler PHP-Webserver
|
||||
|
||||
Diese Anleitung enthaelt die lokalen Startbefehle fuer mehrere Rechner.
|
||||
|
||||
## ARBEITSPLATZTM
|
||||
|
||||
### PHP-Pfad
|
||||
|
||||
`E:\php\php.exe`
|
||||
|
||||
### Projektverzeichnis
|
||||
|
||||
`C:\Users\HP\source\repos\skyview.astronomiemuseum.de`
|
||||
|
||||
### Document-Root
|
||||
|
||||
`C:\Users\HP\source\repos\skyview.astronomiemuseum.de\public`
|
||||
|
||||
### Server starten
|
||||
|
||||
```powershell
|
||||
Set-Location C:\Users\HP\source\repos\skyview.astronomiemuseum.de
|
||||
& 'E:\php\php.exe' -S 127.0.0.1:8000 -t public
|
||||
```
|
||||
|
||||
Dann ist das Projekt unter folgender URL erreichbar:
|
||||
|
||||
`http://127.0.0.1:8000/`
|
||||
|
||||
### Optional: anderer Port
|
||||
|
||||
Wenn Port `8000` bereits belegt ist:
|
||||
|
||||
```powershell
|
||||
Set-Location C:\Users\HP\source\repos\skyview.astronomiemuseum.de
|
||||
& 'E:\php\php.exe' -S 127.0.0.1:8001 -t public
|
||||
```
|
||||
|
||||
## THOMASDESKTOP
|
||||
|
||||
### PHP-Pfad
|
||||
|
||||
`C:\laragon\bin\php\php-8.4.5-nts-Win32-vs17-x64\php.exe`
|
||||
|
||||
### Projektverzeichnis
|
||||
|
||||
`C:\Users\ich\source\repos\skyview.astronomiemuseum.de`
|
||||
|
||||
### Document-Root
|
||||
|
||||
`C:\Users\ich\source\repos\skyview.astronomiemuseum.de\public`
|
||||
|
||||
### Server starten
|
||||
|
||||
```powershell
|
||||
Set-Location C:\Users\ich\source\repos\skyview.astronomiemuseum.de
|
||||
& 'C:\laragon\bin\php\php-8.4.5-nts-Win32-vs17-x64\php.exe' -S 127.0.0.1:8000 -t public
|
||||
```
|
||||
|
||||
Dann ist das Projekt unter folgender URL erreichbar:
|
||||
|
||||
`http://127.0.0.1:8000/`
|
||||
|
||||
### Optional: anderer Port
|
||||
|
||||
Wenn Port `8000` bereits belegt ist:
|
||||
|
||||
```powershell
|
||||
Set-Location C:\Users\ich\source\repos\skyview.astronomiemuseum.de
|
||||
& 'C:\laragon\bin\php\php-8.4.5-nts-Win32-vs17-x64\php.exe' -S 127.0.0.1:8001 -t public
|
||||
```
|
||||
|
||||
## Server beenden
|
||||
|
||||
Im laufenden Terminal:
|
||||
|
||||
```powershell
|
||||
Ctrl + C
|
||||
```
|
||||
|
||||
## Hinweis
|
||||
|
||||
Der Webserver nutzt den eingebauten PHP-Entwicklungsserver und ist fuer lokale Entwicklung gedacht.
|
||||
Reference in New Issue
Block a user