|
November-05, 2011 by: Sean Brewer From: Sean Brewer
------------------------------------------------------
I got really frustrated yesterday that PHP doesn't have any sort of
development server (that I could find anyway), so I hacked together this:
https://github.com/seabre/phpdien
I thought some of you might find it useful.
=============================================================== From: Ed King ------------------------------------------------------ what does this do that xampp doesn't already do? =============================================================== From: Ryan Bales ------------------------------------------------------ upgrade to 5.4 http://php.net/manual/en/features.commandline.webserver.php ~Ryan Bales =============================================================== From: Sean Brewer ------------------------------------------------------ Oh that's cool. I might have to look into that. It might be useful for people running < 5.4. My solution works really well for now. I'm actually kind of surprised it runs WordPress. xampp is more like a distribution of tools. My thing is more like the development application server in Rails. For instance, I can checkout a rails project on my machine and run it with `rails s`, and use the project on localhost:3000. With PHP projects in the past, I'd have to checkout the project on my machine, set up apache for the project, and if everything went well, run the app. =============================================================== From: Ryan Bales ------------------------------------------------------ Yep, I totally understand, and I love that feature of Rails, too. Django also does this. ~Ryan Bales =============================================================== From: Cameron Kilgore ------------------------------------------------------ The Django server is single threaded though, and not intended for static content. Not that you can run two servers... |
| ||