php - WAMPserver 3.0.4 on Windows 10 (64 bit): Apache server (httpd service) did not start -


i installed wampserver 3.0.4 x64 bit on windows 10 64 bit os.

issue: apache server (2.4.18) did not start following error message:

could not execute menu item (internal error) [exception] not perform service action: service did not respond start or control request in timely fashion 

similar question raised before on stackoverflow, resolutions posted there didn't in case. (i've mentioned details below).

diagnosis:

step 1: tested port 80, since apache server using one. here test returned:

***** test uses port 80 *****    ===== tested command netstat filtered on port 80 =====     test tcp port 80 not found associated tcp protocol  port 80 not found associated tcp protocol    ===== tested attempting open socket on port 80 =====   port 80 not used. 

step 2: though result showed port 80 not issue, tried change port number 80 8080. still received same error. test showed port 8080 not being used either. so, issue not port number.

step 3: changed php version 5.6 7 through wamp server menu. didn't produce different result.

step 4: per voted suggestion on same error on previous discussion, typed 'httpd -e debug' on cmd prompt: (link previous discussion: wamp server not start: windows 7, 64bit)

c:\wamp64\bin\apache\apache2.4.18\bin>**httpd -e debug** 

after executing script brief moment, process hung up. listing last 3 statements showed up:

[wed sep 07 19:57:35.680559 2016] [so:debug] [pid 8496:tid 428] mod_so.c(266): ah01575: loaded module userdir_module c:/wamp64/bin/apache/apache2.4.18/modules/mod_userdir.so [wed sep 07 19:57:35.691570 2016] [so:debug] [pid 8496:tid 428] mod_so.c(266): ah01575: loaded module vhost_alias_module c:/wamp64/bin/apache/apache2.4.18/modules/mod_vhost_alias.so [wed sep 07 19:57:35.712582 2016] [so:debug] [pid 8496:tid 428] mod_so.c(266): ah01575: loaded module php7_module c:/wamp64/bin/php/php7.0.4/php7apache2_4.dll 

the last 1 says php7_module loaded /wamp64/bin/php/php7.0.4/php7apache2_4.dll before freezing command prompt.

this same file mentioned culprit in earlier discussion. thought must culprit in case well.

step 5: downloaded file php7apache2_4.dll https://bugs.php.net/bug.php?id=69801 , put in /wamp64/bin/php/php7.0.4/ location

the error still persists , not sure else do?

i had tried:

  • rebooting system
  • running wamp server administrator
  • going apache > service administration > install service

nothing has worked yet!

did read dialog shown part of install making sure have full set of microsoft c/c++ runtime libraries installed.

windows 10 not come them installed

--- installation of wampserver ---

before proceeding installation of wampserver, must ensure elements installed on system, otherwise wampserver absolutely not run, , in addition, installation faulty , need remove wampserver before installing elements missing. make sure "up date" in redistributable packages vc9, vc10, vc11, vc13 , vc14 see --- visual c++ packages below.

--- not install wampserver on existing version, follow advice:

install new version of wampserver:

if install wampserver on existing version, not not work, risk losing existing databases.

--- install wampserver in folder @ root of disk, example c:\wamp or d:\wamp. take installation path not include spaces or diacritics; therefore, no installation in c:\program files\ or c:\program files (x86)\

we must before installing, disable or close applications: - close skype or force not use port 80 item no. 04 of wampserver troubleshooting tips:

if these prerequisites not in place, press cancel button cancel installation, apply prerequisites , restart installation.

--- visual c++ packages ---

the msvc runtime libraries vc9, vc10, vc11 required wampserver 2.4, 2.5 , 3.0, if use apache , php versions vc11. runtimes vc13, vc14 required php 7 , apache 2.4.17

-- vc9 packages (visual c++ 2008 sp1)

32bit here , 64bit here

-- vc10 packages (visual c++ 2010 sp1)

32bit here , 64bit here

-- vc11 packages (visual c++ 2012 update 4) 2 files vsu4\vcredist_x86.exe , vsu4\vcredist_x64.exe download on same page: 32bit , 64bit

-- vc13 packages] (visual c++ 2013[) 2 files vsu4\vcredist_x86.exe , vsu4\vcredist_x64.exe download on same page: 32bit , 64bit

-- vc14 packages (visual c++ 2015) 2 files vcredist_x86.exe , vcredist_x64.exe download on same page: 32bit , 64bit

if have 64-bit windows, must install both 32 , 64bit versions, if not use wampserver 64 bit.

this item number 20 of troubleshooting tips of wampserver:

also remember must install wampserver "as administator" , run way.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

serialization - Convert Any type in scala to Array[Byte] and back -