introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

Apache Can't start



Posted by: reamsey
January 14, 2009 09:30AM
Dear all
when I start easyphp it has en error like this

Can not run server:the specified service does not exist as an installed service. (1060)

please help me with this error

best regard

sey
Options: ReplyQuote
Posted by: Jujupiter
March 19, 2009 12:47PM
English version:
I have exactly the same problem. On previous forums, they advise to install it manually ("apache/bin/apache.exe -k install") but it triggers another error, and it doesn't say what the error is, or what file is missing, nothing... so it's difficult to tell what could be the problem. Anyone got an idea?

Version francaise:
J'ai exactement le meme probleme. Sur les forums precedents, ils conseillent de l'installer manuellement ("apache/bin/apache.exe -k install") mais ca provoque une autre erreur, et ca ne dit pas quelle est l'erreur, ou quel fichier est manquant, rien... donc il est difficile de diagnostiquer le probleme. Quelqu'un a une idee?
Options: ReplyQuote
Posted by: Seagram999
July 22, 2009 06:27PM
English version:
Hello, I found out the reason and the solution of this issue.
What happens is that EasyPHP3.0 expects the Apache service to be named "Apache2".
However, when installing with default options, Apache sets its service name to "Apache2.2".
That's why EasyPhp3.0 can not find it and launch it (or stop it if it's already running)
The solution is to open a console and 1) to uninstall Apache with the default name 2) to install it with the proper command-line setting to force the proper name.

In the console :
-----------------

C:\>"C:\Progra~1\EASYPH~1.0\Apache\bin\apache.exe" -k uninstall
Removing the Apache2.2 service
The Apache2.2 service has been removed successfully.

C:\> "C:\Progra~1\EASYPH~1.0\Apache\bin\apache.exe" -k install -n Apache2
Installing the Apache2 service
The Apache2 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.

C:\>

-----------------------

From now on, EasyPHP3.0 should be able to start/stop services at will.
It seems it works on my computer.
Hope this helps.

Version française :
Bonjour, j'ai trouvé la raison et la solution du problème.
Ce qui se passe, c'est que EasyPHP3.0 s'attend à ce que le service Apache service soit dénommé "Apache2".
Cependant, lorsqu'il s'installe avec les options par défaut, Apache donne au service le nom "Apache2.2".
C'est pourquoi EasyPhp3.0 ne peut pas le trouver pour le lancer (ni l'arrêter s'il est déjà lancé)
La solution consiste à ouvrir une console et 1) à désinstaller le service Apache avec le nom par défaut 2) à installer Apache avec le paramètre de ligne de commande qui convient pour forcer le nom correct.

Dans la console (les textes en anglais sont les messages de Apache) :
----------------

C:\>"C:\Progra~1\EASYPH~1.0\Apache\bin\apache.exe" -k uninstall
Removing the Apache2.2 service
The Apache2.2 service has been removed successfully.

C:\> "C:\Progra~1\EASYPH~1.0\Apache\bin\apache.exe" -k install -n Apache2
Installing the Apache2 service
The Apache2 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.

C:\>

-----------------------

A partir de là, EasyPHP3.0 devrait être capable de démarrer/arrêter les services à volonté. Ca semble fonctionner sur mon ordinateur.
J'espère que ça aide.
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.