Author: Manuel Lemos
Updated on: 2022-05-12
Posted on: 2022-05-12
Viewers: 126 (May 2022)
Categories: PHP Tutorials, Lately in PHP Podcast
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.
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
Download Size: 1MB Listeners: 639
Introduction music obtained with permission from: http://spoti.fi/NCS
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.
See the Lately in PHP podcast play list on YouTube and Subscribe to this channel there.
Episode 92 Part 4 Video
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.
You need to be a registered user or login to post a comment
1,597,655 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
No comments were submitted yet.