Skip to main content

Deploy PHP!

3h 47m 59s
English
Paid

Course 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.

Read more about the course

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.

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 30 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: SSH to Connect

All Course Lessons (30)

#Lesson TitleDurationAccess
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

Unlock unlimited learning

Get instant access to all 29 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

PHP From Scratch 2024 | Beginner To Advanced

PHP From Scratch 2024 | Beginner To Advanced

Sources: udemy, Brad Traversy
Learn PHP fundamentals then build a job listing website from the ground up, using a Laravel-like infrastructure. This course is broken up into two parts. First, we have seven le...
18 hours 17 minutes 27 seconds
Make a Google search engine clone: JavaScript PHP and MySQL

Make a Google search engine clone: JavaScript PHP and MySQL

Sources: udemy
Do 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! This
5 hours 47 minutes 11 seconds
Write PHP Like a Pro: Build a PHP MVC Framework From Scratch

Write PHP Like a Pro: Build a PHP MVC Framework From Scratch

Sources: udemy
Learn to write faster, easier to maintain, more secure PHP websites by using a model-view-controller framework. Learn the basic concepts of using a model-view-c
2 hours 51 minutes 57 seconds
Refactoring to Collections

Refactoring to Collections

Sources: adamwathan
Learn how to use collection pipelines to break down ugly, complex functions into a series of simple transformations, free of loops, complex conditionals, and temporary variables...
4 hours 44 minutes 21 seconds
Writing Readable PHP

Writing Readable PHP

Sources: spatie.be
Learn how to write code that’s a joy to read for you, your co-workers, and future self. View high-quality videos on both clean coding and static analysis.
2 hours 40 minutes 32 seconds