"Novice, developers directly configure the server configuration file"
Most of the time we download source code from the Web or through other means to an inaccessible case in the local directory:
The specific problem is that the program routing path is done, and localhost is accessed as the project root directory.
The right way of doing things:
http://localhost/Project Name/index.php
When the access to find the style of CSS lost, in fact, the file is just the path is not found in the CSS file
The best way to configure the local virtual domain name is the fastest:
Examples of integrated environment packages with Phpstudy:
The first step is to click on the menu:
The second step is to find the site domain name configuration button:
The third step is to set up the hosts file: Why don't you tell me what you want to do?
Open the Hosts file add the virtual domain name you just completed must correspond to the same
Click Save
Reboot and then access directly through the domain name
Note: The tutorial is simply to configure the virtual domain name, the program can not access the need to check whether the database connection, such as the link
Phpstudy Virtual Host Configuration