Quickly spawn a local development web server using PHP

By North Street, A Creative Studio

Have a script you’ve downloaded or need to test out some simple code, but don’t want to bother with MAMP?

1. Fire up terminal
2. CD in the directory in question
3. Enter this command:

php -S localhost:3000

4. That’s it. Navigate to http://localhost:3000 and you’ll see your code running.

Screen Shot 2015-07-16 at 10.56.36 AM

About north street

We engineer the thoughtful transformation of great organizations. Our proven process helps us understand what your competitors are doing right — and wrong. Want to learn more? Let’s chat.

More Notes

Photo of Tom Conlon

CEO Tom Conlon in Conversation with Chris White

Designing for Interaction: How Animated Prototypes Revolutionize Website Development

man with arms folded in front of blue city background

Team Spotlight: Cristian Sánchez, Lead Developer