About phpStudy's Apache and MySQL startup failure solutions

One. About the Apache startup failure solution.
By searching various solutions on the Internet, it is found that the biggest commonality of Apache startup failure is the occupation of the port, so check the port to see if it cannot be started because it is occupied
Insert picture description here

Through detection, it was found that port 80 was already occupied, so I changed the port to 81, as shown in the figure below
Insert picture description here
. II. About the MySQL startup failure solution The
main problem lies in the following
Insert picture description here

Access is denied, indicating that the service path and the installation path are inconsistent, so modify
windows+r by modifying the table. Enter regedit in the run dialog box and click OK to enter the registry editor. Select HKEY_LOCAL_MACHINE ->SYSTEM -> CurrentControlSet -> services ->MySQL, modify the path of ImagePath to Mysql installation path
Insert picture description here

Start again
Insert picture description here

This solves the
precautions: because MySQL is included in many software, when using MySQL of the related software, modify the MySQL path in the registry.

Start using the command line
Insert picture description here

This situation occurs because of insufficient permissions (this is not a big problem)
only the administrator cmd is required to view, as follows
Insert picture description here

The result of successful configuration is as follows:
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/bring_coco/article/details/108113599