Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
238 views
in Technique[技术] by (71.8m points)

mysql - wampserver 2.2 64x could not execute menu item (internal error)[Exception] Could not execute run action: the directory name is invalid

Working with the Wampserver 2.2 64x on win8.1, suddenly it has stopped starting services.its giving the following error:

wampserver 2.2 64x could not execute menu item (internal error)[Exception] Could not execute run action: the directory name is invalid

What i have done yet is start all Services/Restart All Services and restart wampserver, didn't work!

I tried to Install Service:

wampmanager -> Apache -> Service -> Install Service.

cmd saying Actually Port 80 is used by server:Microsoft HTTPAPI/2.0

But MySQL Install Service: wampmanager -> MySQL -> Service -> Install Service. doesn't work!

And also i tried to change port 80 (httpd.conf)

#Listen 12.34.56.78:80
Listen 80

to

#Listen 12.34.56.78:80
Listen 8080

after a restart of Wampserver its try icon got active(green) but still not working (giving the error)

Even i did System restore to the date where it was working with no errors but didn't work.

Any one know whats wrong with this?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This message from the test port 80 function

Actually Port 80 is used by server:Microsoft HTTPAPI/2.0

is saying that you have recently installed or activated IIS or maybe SQLServer.

Because the IIS or SQLServer services are configured to Start Automatically after a boot they have already grabbed Port 80 so when you start Apache it cannot get hold of port 80.

So either uninstall IIS or SQLServer or change their startup type using the Services snapin to Manual or even Disable them and then reenable them when you want to use them.

Things I know can grab port 80 and are related to IIS and SQLServer installs are

  1. IIS
  2. Web Deploy
  3. MS Sql Server Reporting service.
  4. BranchCache ( Windows 8.1 )

There may be others

How to find out whats using port 80

From a command window, started using "Start as Administrator" do

netstat -anop TCP | find ":80"

TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4852

Look at the result of this command and then put the PID number ( last number on the line ) into this command

tasklist /FI "PID eq 4852" ?FO TABLE /NH
httpd.exe                     4852 Services                   0     19,720 K

In this example Apache is using port 80 but yours will probably be something different


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...