Well...
The apache service does not install.
Port 80 is not used actually (this should be "is not in use now" because the French "actuellment" is different from the English "actually"
Both the test port and the install options on the menu say that the port is not in use.
The install option on the menu results in "fie not found"
I guess that the install option is just running
wamp/install_services.bat
and this file exists.
And executing this file causes a console to flash on the screen but it disappears too quicklly to see what is happening.
The apache.exe file exists in wamp\Apache2
clicking on the Apache.exe file does nothing either.
I am not sure what to do. mysql installs and starts fine
this is the content of the mysql installer batch file
.\mysql\bin\mysqld-nt.exe --install-manual wampmysqld --defaults-file="ROOTPATH\mysql\my.ini"
And this (as mentioned above) the content of the file
wamp/install_services.bat
.\apache2\bin\apache.exe -k install -n wampapache
reg add HKLM\SYSTEM\CurrentControlSet\Services\wampapache /V Start /t REG_DWORD /d 3 /f
Myinstmysql
They look pretty much the same.
Why doesn't apache install?
Okay, what is the menu tryiing to call?
There is a file called
wampserver.ins
Which seems to provide the data from the menu. The bit that relates to installing apache looks like this
[ApacheServiceInstall] ;1.6.2
Action: run; FileName: "ROOTPATH/php/php.exe";Parameters: "-c . ../scripts/test_port_for_install.php";WorkingDir: "ROOTPATH/php"; Flags: waituntilterminated
INSai
Action: run; FileName: "reg"; Parameters: "add HKLM\SYSTEM\CurrentControlSet\Services\wampapache /V Start /t REG_DWORD /d 3 /f"; ShowCmd: hidden; Flags: waituntilterminated
Action: resetservices
Action: readconfig;
The first part which checks port 80 is not used is working fine so it must be the remainder
INSai
Action: run; FileName: "reg"; Parameters: "add HKLM\SYSTEM\CurrentControlSet\Services\wampapache /V Start /t REG_DWORD /d 3 /f"; ShowCmd: hidden; Flags: waituntilterminated
Action: resetservices
Action: readconfig;
what is wrong with that? The folowing two are everywhere
Action: resetservices
Action: readconfig
So it seems unlikely that there is any problem with them.
This looks a bit strange
FileName: "reg";
I know the file regedit but reg? Could this be the problem? But if so then everyone would be having the same problem. The parameters look just the sort of thing that
regedit.exe
would take. There does not seem to be a file called reg in my windows (2000)
What is reg?
all the other Action: run, Filename commands are followed by a path to an executable file.... e.g.
Action: run; FileName: "ROOTPATH/php/php.exe";
It seems that only php.exe and notepad.exe are the only two others used.
This is the same for notepad
Action: run; FileName: "notepad.exe";
So from a real newbie point of view, one would expect
Action: run; FileName: "regedit.exe"; Parameters: "add HKLM\SYSTEM\CurrentControlSet\Services\wampapache /V Start /t REG_DWORD /d 3 /f"; ShowCmd: hidden; Flags: waituntilterminated
could this reallly be the problem???
1) It is too much of a coincidence. I am attempting to recompile WAMP5 and to find a bug in wamp5 is too much of a coincidence. This should be something that I have done wrong.
2) Even if the menu item was compiled incorrectly, MYSQL starts no problem *without having to use the menu* hence if there is a problem then it must be with both the menu and whatever batch file was meant to have already run.
With regard to (2), the line in the batch file also says
reg add HKLM\SYSTEM\CurrentControlSet\Services\wampapache /V Start /t REG_DWORD /d 3 /f
Again there is the reference to a program "reg"
It is clearly the registry.
Is there a program or alias or something called reg?
ON this thread here there is also the file reg
[
forum.wampserver.com]
and noone is complaining
I think that reg must be okay.
I have no idea what to do...
Tim