GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Windastella/php-server: Setup a simple Express server that can run PHP script.

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
main.js
main.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

PHP-SERVER

Setup a simple Express server that can run PHP script. This is possible with:

  1. node-php by mkshcreder

Installation

This node require php-cgi and your choosen version of PHP installed:

sudo apt-get install php-cgi php7.0 libapache2-mod-php7.0 php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-curl php7.0-intl php7.0-xsl php7.0-mbstring php7.0-zip php7.0-bcmath php7.0-iconv

Windows using Choco

choco install -y php

Install the Server

Install php-server with npm:

npm install -g @windastella/php-server

Start the server:

php-server --port 8080 --host 0.0.0.0 --dir public

Options

-p,--port Set port Number , default 8080

-h,--host Set host Address , default 0.0.0.0

-d,--dir Set directory to serve, default ``

About

Setup a simple Express server that can run PHP script.

Topics

express-jsexpressjsnodenode-jsnode-modulenode-phpnodejsphpphp-cgiserver

Resources

Readme
Activity

Stars

5 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.