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

Rebranding a Construction Firm by Embracing its Seaside Charm

The Subconscious Meaning of Colors

12 Indicators that it’s Time for a New Website