I used php opencart for e-commerce website. Works everything fine when configured with apache on AWS server. I wanted to set it up locally and I stared the server using the command
php -S :8001
Home page is loading fine. If i click on any link url is changing but home page is only coming all the time. For example http://localhost:8001/ and http://localhost:8001/entertainment-leisure both are giving same response. What should I do?