Rechtesystem und Readmes überarbeitet

This commit is contained in:
2026-04-05 11:35:45 +02:00
parent eb35501712
commit 31c9612cc5
6 changed files with 222 additions and 34 deletions
+83
View File
@@ -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.