php -S as Python alternative :) #6

wants to merge 1 commit into


None yet
5 participants

No description provided.

@secretrobotron secretrobotron commented on the diff Aug 28, 2012

@@ -75,7 +74,10 @@ Running
0. Run
python -m SimpleHTTPServer 8888
+ or
+ php -S localhost:8888

secretrobotron Aug 28, 2012


This doesn't work on OSX. The usage statement says nothing about -S.


hikari-no-yume Aug 28, 2012

It does work, you're using an older version of PHP :)


secretrobotron Aug 28, 2012


Hahaha which version is acceptable? Here's mine:

PHP 5.3.10 with Suhosin-Patch (cli) (built: Feb 20 2012 22:55:53) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

kripken commented Aug 28, 2012

This seems ok to add, but sounds like we need to mention which PHP version will work. Also lets put PHP in parentheses just to keep the text simpler and more focused.

Rudloff commented May 1, 2013

It works with PHP 5.4.0 and above.

Any plans on merging it? Or updates about?


kripken commented Mar 21, 2017

Looks like this is quite old, and can't be merged without fixes. But if it's still useful, let's do that.

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