When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

SkillShare logo

Deploying PHP websites on Heroku

Unlock creativity with Skillshare! Learn acrylic painting, AI writing, graphic design, and photography.

     0 |
  • Reviews ( 0 )
Free

This Course Includes

  • iconskillshare
  • icon0 (0 reviews )
  • icon1 hours 15 minutes
  • iconenglish
  • iconOnline - Self Paced
  • iconcourse
  • iconSkillShare

About Deploying PHP websites on Heroku

Introduction

What is Heroku?

Example code

Creating a Heroku account

Installing the CLI

Installing Git on Windows

Installing Heroku CLI on Windows

Using Git Bash on Windows

Creating a simple app

Adding PHP code

Creating a Procfile

Committing to git

Pushing to Heroku

What are config vars?

Adding a local config var

Using variables locally

Deploying our changes

Using variables in production

What are addons?

Using addons

Addon dashboards

Adding the variable locally

Connecting to MySQL

MySQL in the cloud

Breaking the app

Finding out what went wrong

Rolling back

Provisioning Rollbar

Installing the client library

Rollbar dashboard

Configuring domain names

Configuring Apache's web root

Enabling PHP extensions

Switching to nginx

Conclusion

What You Will Learn?

  • In this course, you will deploy your first website to Heroku's cloud platform. Heroku is a Platform-as-a-Service (PaaS) that allows you to easily deploy and scale web applications using a simple git push. You'll follow me step-by-step as we go through the process of:.