Could Not execute menu item (internal error), [Exception] Could not perform service action: The service has not started.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.