Book Nook Join Book Nook

PHP Development With Windows Subsystem for Linux (WSL) a Php[architect] Guide

Joe Ferguson

Setup a Productive Development EnvironmentLearn how to use the Windows Subsystem for Linux (WSL) to make your coding environment more effective.

WSL provides a new way to develop PHP applications on Windows while using native Linux binaries and tooling. This book gets you started installing Ubuntu as a WSL distribution with PHP, NGINX, and MySQL.

You'll also enhance your setup with Mailhog for catching emails during development, Ngrok to share your progress with collaborators, and Xdebug for hunting down bugs while you program. This part includes integrating a step-debugger with PHPStorm or Visual Studio Code.

Another option explored here is using a pre-configured virtual environment as the foundation for development. In this case, we look at Homestead, a community-contributed project that offers all the tools PHP developers expect in an easy-to-configure virtual machine.

Finally, you'll see how to go beyond using command-line applications into running GUI Linux applications running on a Windows-compatible X server. Doing so gives you a way to get around some file system performance bottleneck you may encounter.

Written by PHP professional Joe Ferguson, initially for his The Workshop column in php architect] magazine, this book provides a concise guide for setting up a modern programming environment in Windows. Whether you're looking to switch to a new Operating System or re-evaluate your current dev setup, he'll show you how to put a professional and productive one together.

GenresComputersLanguagesPHP

60 pages

English edition · First published 2020 by PHP[Architect] · ISBN 9781940111902

Readers also shelved

Be the first to rate this book

Tap or drag across the stars

Keep track of what you read

Book Nook is a free reading tracker with a 3D bookshelf, a reading timer, challenges with friends and a Reading Wrapped at the end of the year. Add PHP Development With Windows Subsystem for Linux (WSL) a Php[architect] Guide to your shelf in one tap.

Join Book Nook Get the app