In this course, you will create a reliable deployment strategy for PHP applications from scratch. We will start with simple operations and step by step move to a professional, fully automated deployment process without downtime.
Deploy PHP!
Server Configuration and Security Enhancement
- Installation and configuration of basic server components
- User creation and access management
- Firewall setup
- Installation of security software and server security enhancement
From Simple File Copying to Professional Deployment
We will start with simple file copying via SSH, and then move on to using Fabric to create a deployment strategy that supports rollbacks and zero downtime deployment.
Team Deployment
You will learn how to centralize the deployment process using a build server, automate application builds, deploy code, send notifications, and maintain a deployment history log.
What You Will Learn:
Basics
- Creating a deployment server
- Installing the server and basic network configuration
- SSH and user security
- Configuring the server for PHP applications
File Copying and Synchronization
- SSH configuration
- Copying with SCP
- File synchronization with Rsync
- User rights management for deployment
- Using Git/GitHub for deployment
Deployment Scripts and Automation
- Setting up Fabric as an SSH task manager
- Working with sudo and rights management
- Zero downtime deployment with symlinks
- Database rollbacks and migrations
Deployment Automation
- Centralized deployment management
- Automatic Fabric calls and webhooks
- Queues for task and process separation
- Deployment status notifications
Application Build
- Build server setup
- Compilation of dependencies and assets before deployment
- Deployment process monitoring and logging
This course will provide you with all the tools needed to create a professional deployment strategy for your PHP applications—from local development to production servers.
About the Author: Servers for Hackers
Servers for Hackers is the long-running technical-publication and course site of Chris Fidao, focused on the production-operations side of running PHP and Laravel applications — the parts of shipping software that don't fit inside a framework tutorial. He also runs Fly.io for Laravel and Chipper CI, and has been one of the most consistent voices on the Laravel deployment / DevOps boundary.
The CourseFlix listing carries Scaling Laravel and Deploy PHP! — both paid courses aimed at PHP developers ready to take operational responsibility for their own services rather than handing them off to a separate ops team.
Watch Online 30 lessons
| # | Lesson Title | Duration | Access |
|---|---|---|---|
| 1 | SSH to Connect Demo | 08:51 | |
| 2 | New Users | 05:46 | |
| 3 | SSH Security | 03:32 | |
| 4 | Firewalls | 13:26 | |
| 5 | Fail2Ban | 05:02 | |
| 6 | The Application Server | 11:22 | |
| 7 | SSH Configuration | 02:43 | |
| 8 | Deploying with SCP | 03:14 | |
| 9 | Deploying with Rsync | 05:31 | |
| 10 | Git and GitHub | 09:44 | |
| 11 | Introducing Fabric | 08:34 | |
| 12 | Sudoers and Sudo | 06:48 | |
| 13 | Downtime and Symlinks | 09:17 | |
| 14 | Fabric and Symlinks | 07:24 | |
| 15 | Rollbacks | 05:49 | |
| 16 | Migrations | 11:03 | |
| 17 | Other Services | 03:22 | |
| 18 | Run Fabric Programmatically | 03:19 | |
| 19 | Creating a Build Server | 10:24 | |
| 20 | The Web Listener | 06:59 | |
| 21 | GitHub Webhooks | 09:18 | |
| 22 | Using Queues with SQS | 07:40 | |
| 23 | Consuming Queue Jobs with Python | 07:46 | |
| 24 | Notifications During Deployment | 05:07 | |
| 25 | Monitoring the Deploy Services | 08:19 | |
| 26 | Building the Application Ahead of Deployment | 05:48 | |
| 27 | Making the Build Server Build | 09:51 | |
| 28 | Deploying a Built Application | 10:15 | |
| 29 | Wrapping Up | 03:24 | |
| 30 | Ansible Quickstart | 18:21 |
Get instant access to all 29 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.
Learn more about subscriptionRelated courses
-
Updated 2y agoMake a Google search engine clone: JavaScript PHP and MySQL
By: UdemyDo you want to become an expert in JavaScript, PHP and MySQL? Do you want to build a real search engine just like Google? If so, you’re in the right place! This5h 47m -
Updated 2y agoDocker for PHP Developers
By: Udemy"Docker for PHP Developers" is a book and video course that will teach you how to use Docker and PHP to create clean.7h 35m -
ClassicBecome a WordPress Developer: Unlocking Power With Code
By: UdemyLearn PHP, JavaScript, WordPress theming & the WP REST API to Create Custom & Interactive WordPress Websites.41h 45m5/5