Paul R. Redmond's Blog
January 8, 2020
Docker for PHP Developers Giveaway
Enter for a chance to win a copy of the Docker for PHP Developers complete video course, which includes 7+ hours of videos and a 200+ page book. The course is focused on teaching you how to build your own PHP environments with Docker.
Thousands of developers have already taken my course, enter for a chance to get it for free. The catch is that the more you share this giveaway, the more chances you have for winning a free copy!
Prizes include:
5 free copies of the complete video bundle 3 free...December 16, 2019
My Setup in 2019
I thought Id document my setup as a way to track every year how things change and what remains the same over time. I mostly write PHP, JavaScript, and DevOps-related code, and I thought Id share whats working for me.
Office Setup MacBook Pro 15 16 GB of memory - 2016 modelI like the butterfly keyboard, but it does have one repair claim for a stuck x key. Apple serviced it for free, and my 2016 model has a brand-new battery and updated 2018 keyboard. Most of the time, my...
December 28, 2018
2018 Year in Review
By all accounts, 2018 was probably my most significant year of growth as a person. The year was a wild ride full of many ups, a few downs, and I am thrilled to capture it all at a 50,000-foot view.
It always amazes me looking back 365 days how much changes, and how different my reality is from what I perceive going into a new year.
There were some significant milestones that I was able to accomplish:
Published my third book, Docker for PHP Developers Paid off our only cre...September 19, 2018
Flexible XDebug Configuration with Docker and Environment Variables
This screencast is part of my Docker for PHP Developers Complete Video Bundle course.
One of my favorite patterns for making Docker PHP images as flexible as possible is using environment to dynamically set PHP INI configuration. In this screencast, I use XDebug to demonstrate how you can make your INI configuration flexible with environment variables. This technique allows each developer to customize his or her settings, and works well for modules that need changes between development and pr...
August 28, 2018
Announcing the Docker for PHP Developers Video Course Outline
The Docker for PHP Developers video course is available in two packages. First, the Starter Video Package will consist of around 30 videos designed to help you get comfortable using Docker with PHP projects. Second, the Complete Video Package includes the first 30 videos, along with an entire series on setting up a Docker environment with the Laravel PHP framework.
Here���s the full outline of the course:
Docker PHP BasicsWe walk through the basics of getting started with Docker.
Getting St...August 1, 2018
Installing PHP Modules with Dependencies in Docker
A question I received from a reader recently asks:
I need the ���intl��� and ���zip��� php extensions installed for a project of mine but I can���t make it work. I tried running ���docker-php-ext-install intl zip������but had no success.
The official PHP Docker image readme has an example of installing PHP extensions using the image���s docker-php-ext-install script, and demonstrates how to install the underlying libraries using apt.
Let���s look at it together in this video and see how you...
July 1, 2018
Tricks to Help You Optimize Your PHP Docker Images for Production
Docker is a powerful way to run the same packaged code in both development and production, but it can be a bit tricky to understand how to optimize PHP Docker images for production.
In this screencast, I���ll walk you through some of the techniques you can use to construct Docker PHP images in a way that allows you the full flexibility you need in development, without sacrificing the performance you need to get out of your PHP containers running in production.
We���ll use a Laravel PHP projec...
January 31, 2018
My Process for Writing Docker for PHP Developers
On January 23rd I released my third book, Docker for PHP Developers, that teaches PHP developers how to use Docker as a development environment.
Within the first three days I sold 233 copies and 284 copies in the first week, my best release so far!
The Docker for PHP Developers book is available right now! The launch price for the next three days is 25% off! ��������https://t.co/zJKLWPMDds
— Paul Redmond ���� (@paulredmond) January 23, 2018
I approached this course differently than my f...
October 11, 2017
How to use Caddy with PHP and Docker
Caddy is an excellent HTTP/2 web server with automatic HTTPS. The configuration is simple and approachable, providing secure defaults and self-contained binaries that run on every platform.
I have found Caddy to be my go-to server for running PHP Docker containers in production. Using the official PHP-FPM image, we can run Caddy and start PHP-FPM in the background within the same container.
I find that running PHP-FPM and Caddy together simplifies my stack by eliminating the need for FastCGI...
September 22, 2017
Nginx Unit with Docker, PHP, and Laravel
As part of the announced Nginx Platform, Nginx is working on a dynamic web application server, Nginx Unit. Unit supports fully dynamic reconfiguration using a RESTful JSON API, supports multiple application languages and versions can run simultaneously. Right now Unit supports Python, PHP, and Go; with planned support for JavaScript/Node.js, Java, and Ruby.
NGINX Unit is a dynamic web application server, designed to run applications in multiple languages. Unit is lightweight, polyglot, and d...


