Local Web Development Environment 2024
1 min readFeb 22, 2024
Intro
At the first, let me define what this environments for.
It could be:
- capable of managing multiple projects by itself
- it can handle up-to-date components
- it must be error free for create webapp prod versions
Component proposal
- Nginx vs Apache round
- PHP version
- Include db layer
Applicants
XAMPP for Windows
- ✅Good old friend with community support, predictable releases
- ✅with PHP 8.0 or PHP 8.1 or PHP 8.2
- ❌with phpMyAdmin can be replaced with the lightwave Adminer
- ✅ A Wordpress local installation is easier then ever
- ❌ Comes with Apache (v2.4.58) instead of Nginx
- ✅ Configured fake sendmail is a pro
WinNMP for Windows
- ✅ Comes with Nginx (v1.21.3), instead of Apache
- ❌ Latest version updated 2 years ago
- ❌ with PHP 7.x or PHP 8.0
- ✅ scaled project admin UI
- ✅ Adminer SQL admin by default
- ❌ no support for years, buggy…
Closure
I tried both of these environments, it is always important for me to have a popular, widely used environment. I prefer XAMPP for local dev, but it is also important that these environment naturally never be used for prod environments.