Could not execute menu item(internal error),[Exception] Could not perform service action:服务尚未启动。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not execute menu item(internal error),[Exception] Could not perform service action:服务尚未启动。相关的知识,希望对你有一定的参考价值。

对于wampserver处于离线状态无法启动的原因一般是是服务无法启动,主要有两方面:

一、Apche服务无法启动(80端口冲突)

解法方法如下:

  

找到Apache安装目录下conf目录下的httpd.conf文件。

 

技术分享

打开它,找到“Listen 80”和“ServerName localhost:80”,紧接着Listen的数字就是端口号,默认状态下为“Listen 80”和“ServerName localhost:80”。

技术分享

技术分享

重启wamp,就可以生效了

 

 

二、mysql服务无法启动(3306端口冲突)

打开my.ini,找到以下几处地方,修改3306为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

修改完成后,打开php.ini找到mysqli.default_port = 3306,并将端口号修改为3307.

完成以上修改后,启动服务即可!

以上是关于Could not execute menu item(internal error),[Exception] Could not perform service action:服务尚未启动。的主要内容,如果未能解决你的问题,请参考以下文章

Could not execute action

Could not execute command ‘sassc‘

git解决Could not execute editor

GenericJDBCException: could not execute statement 错误解决

Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

org.hibernate.exception.GenericJDBCException: could not execute statement