Home > Backend Development > PHP Tutorial > apache - Can't access local PHP project

apache - Can't access local PHP project

WBOY
Release: 2016-08-04 09:21:25
Original
1690 people have browsed it

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.

Reply content:

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template