Cmd File For Different PHP Versions on Windows

I’ve been working with some clients who ran Laravel under older PHP versions than I have installed so I needed a quicker way to access the correct versions in command prompt. 1. Make sure you download the PHP versions you need or use wampserver. I needed 2 different versions PHP 7.3 and PHP 7.4 2. Create a directory called C:\Bin or something similar and add it to the %PATH% variable. 3. Create the command file in C:\Bin c:\bin\php73.cmd @call <path

Continue Reading

Site Footer

Sliding Sidebar

RYAN OUN

Nice to meet you, my name is Ryan and I build stuff for the web. Welcome to my website where you can learn about me and my interests.

USEFUL LINKS