PHP 5.4 has it’s own server!

This has been out for awhile and I guess I just fell asleep at the wheel but this is pretty cool. Here is the article that explains it and it’s features as well as how to get started.

[cc]
php -S localhost:8080
[/cc]

And if you want to route it to a different folder? Simple just use -t.

[cc]
php -S localhost:8080 -t public
[/cc]

Additional Resouces

Leave a Reply

Your email address will not be published. Required fields are marked *