View project - PHP [closed]

-1

I'm starting in the PHP language and would like to know how I can view my project, since when using localhost the error "404" appears with the message "Not Found".

The directory of my .php file is this:

  

C: \ xampp \ htdocs \ store

The localhost that I try to access is this:

  

link

Am I doing something wrong?

    
asked by anonymous 11.12.2018 / 14:14

2 answers

1

By the error you posted in the comments, I realize that Apache is not booting due to problems with ports or settings. If this is the case, completely reinstall your Xampp, if the problem still persists, check the release of ports 80 and 443, both on your Firewall and also on your router if you use it. If you use a router between the modem and the computer, try plugging directly into the main modem of your internet and see if it works, if it works, it is blocking by default on your router.

I await further details after these procedures.

    
11.12.2018 / 14:36
1

Solved, the problem was related to port, I decided to access Xampp > Apache > Conf > httpd.conf, when opening the file by notepad I changed Listen 80 to another port number and it worked. To view the project after that I just needed to add the: 85 after the host location, so:

  

link

    
11.12.2018 / 14:38