The question may not be clear, let me explain:
I develop websites using Symfony and there is a clever little command that allows me to start an apache server, taking the root of the server as the current directory. I can then view the result on a dedicated port (localhost:8000
).
Is there an easy way to do that without Symfony, maybe included in Apache2? I would like to test something that doesn't require that PHP framework.
I know I could simply make a symlink to my actual Apache server (/var/www
if I remember correctly, it has been a long time since I used that one). It's not that I'm stuck, I was just wondering if it was doable without too much tears.
console server:start
. I really don't want to reverse-engineer that. – SteeveDroz Apr 24 '16 at 09:32