My php project by default has port:80, I need to make it any port above 1024.
I have multiple files in my project, when I try to make something like
"myproject/item/1"
it responds with error 404 even if I have this URI in my routes.
On the other hand, when I start project by typing php -S localhost:8050
, and do like "myproject:8050/item/1"
everything works perfectly. I use method from some dude in github to create php projects, by default it copies /etc/apache2/sites-available/000-default.conf
, where default port is *80.
I need to make first example "myproject/item/1"
working properly
P.S. I don't want to change 000-default file, because I don't want all my projects to be broken.