Home>Article> After the phpstudy2018 upgrade, the site and phpmyadmin open the 404 solution

After the phpstudy2018 upgrade, the site and phpmyadmin open the 404 solution

ringa_lee
ringa_lee Original
2018-06-30 16:21:47 11782browse

Regarding this update of phpstudy2018, some users open localhost,127.0.0.1, phpmyadmin, and the domain name configured by the site, and prompt 404 after opening, as shown in the figure below:

After the phpstudy2018 upgrade, the site and phpmyadmin open the 404 solution

The solution is as follows:

1. Check whether apache or nginx, and the Mysql service are opened normally, and they can all be opened normally , that is, the green light will light up, as shown below:

After the phpstudy2018 upgrade, the site and phpmyadmin open the 404 solution## off ’ s ’ s ’ s ’ s ’ ’ to ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ’ ” green light The error log file, example: Apache error log file position: D: \ phpstudy2018 \ phptutorial \ apache \ logs \ error.log

See the prompt in the error log file, according to the prompts according to the prompt to troubleshoot the reason why it cannot be opened.

2. When all services can be opened normally.

# check the site configuration file of the web server: vhosts.conf

##The following takes apache as an example: (nginx has not found such a problem yet)The main thing to check is: whether the site configuration path behind DocumentRoot is correct.

After openinghttp://localhost/phpmyadmin, it is displayed as Not Found

Check that the path configured for the DocumentRoot site is incorrect

Open the local environment directory as follows:


## Show the local environment installation directory: D: \ baiduyundownload \ phpstudy2018 \ phptutorial \ www

Open the vhosts.conf configuration file, as follows:After the phpstudy2018 upgrade, the site and phpmyadmin open the 404 solution


## This is displayed.

## The above solution: Just change the address to the directory where you installed phpstudy2018 locally, and then restart the service, you can access it normally, as shown in the figure below:After the phpstudy2018 upgrade, the site and phpmyadmin open the 404 solution

since the above solutions cannot solve your problem, You can go to the official QQ communication group of php Chinese website and contact the administrator Xiaoshu

Statement:
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