Git Product home page Git Product logo

fami-2023-php's Introduction

Installation

Um PHP lokal (am eigenen Rechner) ausführen zu können, brauchen wir einen Webserver. Diesen können wir mit folgenden Programmen installieren.

Windows

XAMPP herunterladen https://www.apachefriends.org/de/index.html und Installation mit Standard-Einstellungen durchführen.

MAC

MAMP herunterladen https://www.mamp.info/de/downloads/ (keine PRO Version nötig) und Installation mit Standard-Einstellungen durchführen.

Webserver starten

Auf Windows XAMPP starten, es sollte sich das Control Panel öffnen. Dann den Apache Service starten. Mit Klick auf Admin öffnet sich im Browser die Default-Startseite (/dashboard).

Auf MAC MAMP starten und rechts oben auf Start klicken, unter localhost:8888 sollte das Root-Verzeichnis des Webservers verfügbar sein.

Der htdocs Folder

Unter diesem ist das Root-Verzeichnis (Startpunkt) des Webservers vorhanden. Standardmäßig unter C:\xampp\htdocs oder Applications/MAMP/htdocs. Unter XAMPP kann das Verzeichnis mit Klick auf Explorer auf der rechten Seite geöffnet werden.

Wenn ihr in htdocs - dem Startverzeichnis eures Webservers - einen Ordner fami anlegt, ist dieser im Browser unter localhost/fami/ (Win) bzw. localhost:8888/fami/ (MAC) erreichbar. Entsprechende Files (wie in diesem Repository) sind in so einem Ordner anzulegen bzw. zu klonen.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.