That’s true, but I just need a quick and dirty way of seeing few php files up in the browser. With the link I posted in the question I nearly accomplished what I needed, so it’s doable. I don’t want it for professional/development reasons, just to check through some old projects
It sounds like it would be rather simpler to use am _x_AMP server of some flavour. Something like The Uniform Server can even be run off a memory stick if need be, making it very portable. It also means it doesn’t have to be installed as such; once you remove the memory stick, all trace of it is gone from the host machine.
I have mamp installed on my mac. Though the idea of running `node server.js" or some such and see the site live, just sounds easier. It obviously taking some time to fined the right method. But I don’t know why I think this way would be easier.
I hoped someone might know the right npm package that does this.
I sometimes use PHP’s built-in web server to test sites from my development computer. From the project’s directory I just use php -S localhost:8080 to start serving files. The docs have more information on this.