Reputation: 31888
As a Python developer using mostly Django, I've grown accustomed to have a built-in test server for my projects, which spares me from setting up Apache for every single project I'm working on my local development machine. Is there something similar for PHP which let's me say "serve this directory as PHP project on localhost:8080"?
I'm not looking for an all-in-one-solution like XAMPP or WAMP.
Upvotes: 2
Views: 740
Reputation: 31888
Looks like PHP 5.4 added this capability:
http://www.php.net/manual/en/features.commandline.webserver.php
Upvotes: 2