Skip to content

Instantly share code, notes, and snippets.

@jansanchez
Created November 29, 2013 05:56
Show Gist options
  • Save jansanchez/7702069 to your computer and use it in GitHub Desktop.
Save jansanchez/7702069 to your computer and use it in GitHub Desktop.
Run a php server from terminal

Run a php server from terminal

type in your terminal

php -f index.php -S localhost:8080
@MichaelCorduroy
Copy link

Can other computers access this server? I tried connecting with my phone to no avail. Pls help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment