XAMPP Apache PHP Display page as not found

i just recently installed latest version of xampp only to discover that when i go to my page to run a personal project i get redirected to a url where it says the page can not be found?

i have tried changing my ports not sure where to turn its driving me insane i posted on the xampp forums with no luck in getting any help.

has anyone had this issue beofre i am well aware when i visit other pages the php code gets displayed and not actually tried to be proecessed by the server.

can anyone help?

It sounds like a redirect problem, is anything showing in the PHP or Apache error logs?

On a side note I highly recommend you use a Linux set-up for development, a virtual machine or even vagrant would do, this is to ensure your project runs locally the same as it would on a live host

My guess is that there is a fatal error causing the redirect to page not found. The default server configuration is typically a 404 for fatal errors. Check the apache error logs. Also, I second twiggy’s recommendation regarding using a vm. Using a vm is more sophisticated and “correct” way of doing local development than xamp.

What does your XAMPP control panel say?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.