Skip to content

Instantly share code, notes, and snippets.

@felipsmartins
Created May 23, 2019 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipsmartins/c4311059bab037f826df5f3c92f1d35b to your computer and use it in GitHub Desktop.
Save felipsmartins/c4311059bab037f826df5f3c92f1d35b to your computer and use it in GitHub Desktop.
PHP built-in server with env vars
# https://github.com/symfony/symfony/pull/10914
# https://www.php.net/manual/en/ini.core.php#ini.variables-order
# i.e:
APPLICATION_ENV=development php -d variables_order=EGPCS -S 0.0.0.0:8080 -t public/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment