Deploy PHP!
Please rate the course
Course short description
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.
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.