Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php local server

#first navigate to the desired directory:
cd path/to/your/folder

# with PHP 
php -S localhost:8000

# with python 3x
python3 -m http.server

# or, for python 2x
python -m SimpleHTTPServer
 
PREVIOUS NEXT
Tagged: #php #local #server
ADD COMMENT
Topic
Name
7+6 =