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

  • Practical Object Oriented Programming

    Practical Object Oriented Programming

    Sources: Codecourse
    Learn OOP with a practical twist, and finish up by building a todo application to cover what we've learned.
    3 hours 28 minutes 58 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
  • PHP with Laravel - Create a Restaurant Management System

    PHP with Laravel - Create a Restaurant Management System

    Sources: udemy
    Welcome to the PHP with Laravel - Create a Restaurant Management System. The course covers the concepts of using PHP and Laravel Framework to build an innovativ
    9 hours 39 minutes 12 seconds
  • Docker for PHP Developers

    Docker for PHP Developers

    Sources: udemy
    "Docker for PHP Developers" is a book and video course that will teach you how to use Docker and PHP to create clean, repeatable development environments that are easy to unders...
    7 hours 35 minutes 34 seconds