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:
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:
## 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 opening http://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:
## 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:
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