The reason why the wampserver is offline cannot start is that the service cannot start, there are two main aspects:
One, Apche service cannot start (80 port conflict)
The solution is as follows:
Locate the httpd.conf file under the Conf directory in the Apache installation directory.
Open it, find "Listen 80" and "ServerName localhost:80", followed by the number of Listen is the port number, the default state is "Listen 80" and "ServerName localhost:80".
Restart Wamp, it will be effective.
Second, the MySQL service cannot start (3306 port conflict)
Open My.ini, find the following places, modify 3306 to 3307
[Client]
#password = Your_password
Port = 3306
Socket =/tmp/mysql.sock
Default-character-set=utf8
[Wampmysqld]
Port = 3306
Socket =/tmp/mysql.sock
Key_buffer = 16M
Max_allowed_packet = 1M
[Mysqlhotcopy]
Interactive-timeout
[Mysqld]
port=3306
When the modification is complete, open php.ini find Mysqli.default_port = 3306 and change the port number to 3307.
After you complete the above changes, start the service!
Could Not execute menu item (internal error), [Exception] Could not perform service action: The service has not started.