Home >Backend Development >PHP Tutorial >apache - Can't access local PHP project
wamp can access localhost, but cannot access local PHP projects. After configuring vhost and host
the error is
This website cannot be accessed
The server DNS address of test.laravel.com cannot be found.
DNS_PROBE_FINISHED_NXDOMAIN
Pinging the local domain name also fails. It bothered me for several days, but I had no problem before.
wamp can access localhost, but cannot access local PHP projects. After configuring vhost and host
the error is
This website cannot be accessed
The server DNS address of test.laravel.com cannot be found.
DNS_PROBE_FINISHED_NXDOMAIN
Pinging the local domain name also fails. This has been bothering me for several days, but I had no problem before.
Use xammp
I didn’t understand your question. Use vue.js + laravel to develop a single-page application. In this blog post, I talked about how to use phpstudy to configure the project. You can refer to it. To develop php in a windows environment, I recommend using phpstudy integration. Development environment
Check the hosts first, then check the virtual host. The problem with hosts is bigger