PHP Classes

How to Setup a Development Environment to Test a PHP Version Upgrade - 3 minutes - Lately in PHP Podcast Episode 92 Part 4

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Setup a Develo...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2022-05-12

Posted on: 2022-05-12

Categories: PHP Tutorials, Lately in PHP Podcast

The first thing you need to do to start an upgrade of a PHP version is to set up a development environment where you can test if your application continues to work well with the new PHP version.

Read this article, watch a 3-minute video, or listen to part 4 of episode 92 of the Lately in PHP podcast to learn how to set up a machine to test if your PHP applications work as expected after the PHP upgrade version.




Loaded Article

In this article you can learn:

How to Plan a PHP Version Upgrade Successfully

1. Previous Article: Why You Need to Choose the Right Moment to Upgrade to a New PHP Version

2. Previous Article: When Is the Right Time to Upgrade

3. Previous Article: How to Plan a PHP Version Upgrade Successfully

4. This Article: How to Setup a Development Environment Separate from the Production Environment

5. Next Article: How to Test Your Application Important Features with a New PHP Version

Contents


Listen or download the podcast, RSS feed and subscribe in iTunes

Click on the Play button to listen now.


Download Size: 1MB

Introduction music obtained with permission from: http://spoti.fi/NCS

View Podcast in iTunes

Listen on Spotify
Listen on Spotify


Sound effects obtained with permission from: https://www.zapsplat.com/

In iTunes, use the Subscribe to Podcast... item of the Advanced menu, and then enter the URL above to subscribe to this podcast.

Watch the podcast video

See the Lately in PHP podcast play list on YouTube and Subscribe to this channel there.

Episode 92 Part 4 Video

What was said in the podcast

3. What Should You Do Upgrade Successfully

3.2. Setup a Development Environment Separate from the Production Environment

When you develop and test new code, your development efforts should not affect the project running in a production environment because that must keep working most of the time.

Any changes you make to your project must be done first in a development environment.

A development environment is an isolated environment where you can develop and run a copy of your project. It must use a copy of your project files and your project database.

A development environment can run on your work personal computer, which can be your computer or laptop. It can also run on a development server.

Your development environment should be as close as possible to your production environment. If possible, you should use the same version of PHP, the operating system, database server, email server, etc.

You can use the latest environment container technologies based on products like Docker or Kubernetes to be more efficient, but that is unnecessary if you can use a development environment similar to the production environment.

What matters is that you can develop your code and test it.

Show notes



You need to be a registered user or login to post a comment

1,596,192 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Setup a Develo...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
For more information send a message to info at phpclasses dot org.