|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
Wow, I felt dumb not having remembered to restart it
![]() But now the server doesn't want to restart. It works with the backup copy of the config files though. |
|
#17
|
||||
|
||||
|
Why won't it restart? What's the error message?
__________________
Support requests via PM will be ignored! |
|
#18
|
||||
|
||||
|
There are no errors given.
The Xampp control center says "Apache service started" (but it hasn't) and the Apache error logs (which I took the initiative to adventure into thinking I'd find something there) doesn't show any log entries since I changed the logs. Maybe you know another way to get an error message? |
|
#19
|
||||
|
||||
|
Try this:
Go to the command prompt and type this in: Code:
"C:\wamp\Apache Group\Apache2\bin\Apache.exe" -w -n "Apache2" -k restart Change the path to your own Apache install directory. And the service name to your own [it's probly 'Apache2' aswell] |
|
#20
|
||||
|
||||
|
C:\>"C:\Program Files\xampp\apache\bin\Apache.exe" -w -n "Apache2" -k restart
C:\>_ As seen in the command prompt. That is the location of my Apache executable and Apache2 is the name of the service (checked it just to make sure). Nothing seems to have happened. |
|
#21
|
||||
|
||||
|
If it didn't say anything, then it restarted ok. What is it that makes
you think it hasn't started? |
|
#22
|
||||
|
||||
|
I can't connect to the local host and in xampp's control center there is a small indicator on whether or not the service is active.
While xampp's "control prompt" says it has restarted the indicator says otherwise. |
|
#23
|
||||
|
||||
|
If you go into the Services snap-in, what does it say for Apache
in there? Go >Start >Run >"services.msc" to get to the snap-in. |
|
#24
|
||||
|
||||
|
Doesn't say that is started, it's just blank.
|
|
#25
|
||||
|
||||
|
And the only changes you made between the old and new conf
files was adding the 'alias' bit? I'd not bother with aliases if I were you, just create directories in the DocRoot. |
|
#26
|
||||
|
||||
|
Chief don't forget he is using xampp my post about the folders works fine, the problem with xampp in its a self contained unit and from what i can gather most comands you would use to access Apache or MySQL don't work although i have mysql installed as part of xampp not of the cmd's work it just wont find it on my machine, it would be best just to either install Apache, php and mysql as chief has or just use xampp the way it should be through the contol pannel.. im still new to xamp but any questions about it i should be able to help.
If u do the ull install then chief is the man. Hope this helps
__________________
Practice safe design all ways use a concept. If I have been helpful please click the scales. |
|
#27
|
||||
|
||||
|
Quote:
It's only a contained unit in that it installs all the software in one go. It doesn't change the way the individual bits work. I've just installed XAMPP on a spare machine to test it, and I can edit the config file, create aliases and restart apache fine. |
|
#28
|
||||
|
||||
|
Quote:
![]() ![]() |
|
#29
|
||
|
|