Menu

From Herd Lite to Native PHP on Windows 11: Setting Up PHP 8.4.1, Composer and Laravel
📰

From Herd Lite to Native PHP on Windows 11: Setting Up PHP 8.4.1, Composer and Laravel

DEV Community: laravel·Vincent Tommi·4 days ago
#CIwRp0wa
#devtolaravel#devto#dev#api#composer
Long article (2327 words) — no AI summary yet.
Reading 0:00
15s threshold

Moving from Ubuntu to Windows 11 as a software developer has been an interesting learning experience.

One thing I have discovered is that setting up a development environment on a new operating system sometimes requires more patience than writing the actual application code.

Recently, I encountered several challenges while configuring my PHP development environment on Windows 11 Pro.

I previously used Laravel Herd Lite, but I wanted to install PHP directly on Windows and have more control over my development environment.

My goal was simple:

Remove the old PHP installation.

Install PHP 8.4.1.

Configure Windows PATH correctly.

Install Composer.

Verify that Composer uses the correct PHP version.

Get my existing Laravel project, SamuPOS, running properly.

In this article, I will share the steps I followed, the errors I encountered, and the lessons I learned along the way.

If you are a beginner learning PHP or transitioning from Linux to Windows, I hope this experience helps you save some…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.