PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > 2.2.6 won't start - The Apache2.2 service terminated with service-specific error 1 (0x1).
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

2.2.6 won't start - The Apache2.2 service terminated with service-specific error 1 (0x1).

Réponse
 
LinkBack Outils de la discussion
Vieux 10/01/2008, 13h21   #1
Paul Pedersen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 2.2.6 won't start - The Apache2.2 service terminated with service-specific error 1 (0x1).

Newbie here, using WinXP Pro. I uninstalled Apache 2.2.4 and installed
2.2.6. It won't start. The system error log says:

The Apache2.2 service terminated with service-specific error 1 (0x1).

Any idea what I'm doing wrong?



  Réponse avec citation
Vieux 10/01/2008, 13h57   #2
Paul Pedersen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 2.2.6 won't start - The Apache2.2 service terminated with service-specific error 1 (0x1).


"Paul Pedersen" <nospam@no.spam> wrote in message
news:Fq-dnYwC26p4hhvanZ2dnUVZ_vWtnZ2d@comcast.com...
> Newbie here, using WinXP Pro. I uninstalled Apache 2.2.4 and installed
> 2.2.6. It won't start. The system error log says:
>
> The Apache2.2 service terminated with service-specific error 1 (0x1).
>
> Any idea what I'm doing wrong?
>


It seems to fail because of this added to httpd.conf:

LoadModule php5_module c:/php5/php5apache2.dll
AddType application/x-httpd-php .php
PHPIniDir "C:\php5"

I don't know why though. The dll exists. It's a new installation, php 5.2.5.



  Réponse avec citation
Vieux 10/01/2008, 14h47   #3
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 2.2.6 won't start - The Apache2.2 service terminated with service-specific error 1 (0x1).

On Thu, 10 Jan 2008 05:57:51 -0800, "Paul Pedersen"
<nospam@no.spam> wrote:

>
>"Paul Pedersen" <nospam@no.spam> wrote in message
>news:Fq-dnYwC26p4hhvanZ2dnUVZ_vWtnZ2d@comcast.com...
>> Newbie here, using WinXP Pro. I uninstalled Apache 2.2.4 and installed
>> 2.2.6. It won't start. The system error log says:
>>
>> The Apache2.2 service terminated with service-specific error 1 (0x1).
>>
>> Any idea what I'm doing wrong?
>>

>
>It seems to fail because of this added to httpd.conf:
>
>LoadModule php5_module c:/php5/php5apache2.dll
>AddType application/x-httpd-php .php
>PHPIniDir "C:\php5"
>
>I don't know why though. The dll exists. It's a new installation, php 5.2.5.


Check your apache errorlog for any messages.
If that doesn't give enough information, go check your
configuration from a CMD window.

cd \%serverrootdir%
bin\httpd.exe -t

\%serverrootdir% is the directory where you installed
Apache.
BTW, bin\httpd -h shows more verification options.

HTH
--
( Kees
)
c[_] A chicken is an egg's way of producing more eggs. (#405)
  Réponse avec citation
Vieux 10/01/2008, 16h20   #4
Paul Pedersen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 2.2.6 won't start - The Apache2.2 service terminated with service-specific error 1 (0x1).


"Kees Nuyt" <k.nuyt@nospam.demon.nl> wrote in message
news:2nbco3dd67hsk6blkjq8u3fq26ri4j9k1g@dim53.demo n.nl...
> On Thu, 10 Jan 2008 05:57:51 -0800, "Paul Pedersen"
> <nospam@no.spam> wrote:
>
>>
>>"Paul Pedersen" <nospam@no.spam> wrote in message
>>news:Fq-dnYwC26p4hhvanZ2dnUVZ_vWtnZ2d@comcast.com...
>>> Newbie here, using WinXP Pro. I uninstalled Apache 2.2.4 and installed
>>> 2.2.6. It won't start. The system error log says:
>>>
>>> The Apache2.2 service terminated with service-specific error 1 (0x1).
>>>
>>> Any idea what I'm doing wrong?
>>>

>>
>>It seems to fail because of this added to httpd.conf:
>>
>>LoadModule php5_module c:/php5/php5apache2.dll
>>AddType application/x-httpd-php .php
>>PHPIniDir "C:\php5"
>>
>>I don't know why though. The dll exists. It's a new installation, php
>>5.2.5.

>
> Check your apache errorlog for any messages.
> If that doesn't give enough information, go check your
> configuration from a CMD window.
>
> cd \%serverrootdir%
> bin\httpd.exe -t
>
> \%serverrootdir% is the directory where you installed
> Apache.
> BTW, bin\httpd -h shows more verification options.
>
> HTH
> --
> ( Kees
> )
> c[_] A chicken is an egg's way of producing more eggs. (#405)



Thank you for your response.

The error log is empty.

httpd.exe -h says that c:\php5\php5apache2.dll could not be found. However,
that file does indeed exist in that location. I have double and triple
checked. It's there; there is no typo involved. The error message is wrong.

I upgraded php from v5.2.4 to 5.2.5. Is there an incompatibility with 5.2.5?




  Réponse avec citation
Vieux 10/01/2008, 16h59   #5
phantom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 2.2.6 won't start - The Apache2.2 service terminated with service-specific error 1 (0x1).

"Paul Pedersen" <nospam@no.spam> wrote in message
news:eKCdnba1YO7JuRvanZ2dnUVZ_j-dnZ2d@comcast.com...
>
> "Paul Pedersen" <nospam@no.spam> wrote in message
> news:Fq-dnYwC26p4hhvanZ2dnUVZ_vWtnZ2d@comcast.com...
>> Newbie here, using WinXP Pro. I uninstalled Apache 2.2.4 and installed
>> 2.2.6. It won't start. The system error log says:
>>
>> The Apache2.2 service terminated with service-specific error 1 (0x1).
>>
>> Any idea what I'm doing wrong?
>>

>
> It seems to fail because of this added to httpd.conf:
>
> LoadModule php5_module c:/php5/php5apache2.dll
> AddType application/x-httpd-php .php
> PHPIniDir "C:\php5"
>
> I don't know why though. The dll exists. It's a new installation, php
> 5.2.5.
>


As you are using apache2.2, I believe you should be using php5apache2_2.dll
not php5apache2.dll


  Réponse avec citation
Vieux 10/01/2008, 19h01   #6
Paul Pedersen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 2.2.6 won't start - The Apache2.2 service terminated with service-specific error 1 (0x1).


"phantom" <nobody@blueyonder.invalid> wrote in message
news:eashj.75285$c_1.9111@text.news.blueyonder.co. uk...
> "Paul Pedersen" <nospam@no.spam> wrote in message
> news:eKCdnba1YO7JuRvanZ2dnUVZ_j-dnZ2d@comcast.com...
>>
>> "Paul Pedersen" <nospam@no.spam> wrote in message
>> news:Fq-dnYwC26p4hhvanZ2dnUVZ_vWtnZ2d@comcast.com...
>>> Newbie here, using WinXP Pro. I uninstalled Apache 2.2.4 and installed
>>> 2.2.6. It won't start. The system error log says:
>>>
>>> The Apache2.2 service terminated with service-specific error 1 (0x1).
>>>
>>> Any idea what I'm doing wrong?
>>>

>>
>> It seems to fail because of this added to httpd.conf:
>>
>> LoadModule php5_module c:/php5/php5apache2.dll
>> AddType application/x-httpd-php .php
>> PHPIniDir "C:\php5"
>>
>> I don't know why though. The dll exists. It's a new installation, php
>> 5.2.5.
>>

>
> As you are using apache2.2, I believe you should be using
> php5apache2_2.dll not php5apache2.dll



Bingo! Thank you!

Apparently my "learn php" book needs to be updated (even though it mentioned
Apache 2.2).

That bogus error message (dll not found) didn't either. Maybe the
Apache folks will fix that one of these days.



  Réponse avec citation
Vieux 11/01/2008, 09h09   #7
phantom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 2.2.6 won't start - The Apache2.2 service terminated with service-specific error 1 (0x1).

"Paul Pedersen" <nospam@no.spam> wrote in message
news:0LudnbNnRsH99hvanZ2dnUVZ_qSonZ2d@comcast.com. ..
>
> "phantom" <nobody@blueyonder.invalid> wrote in message
> news:eashj.75285$c_1.9111@text.news.blueyonder.co. uk...
>> "Paul Pedersen" <nospam@no.spam> wrote in message
>> news:eKCdnba1YO7JuRvanZ2dnUVZ_j-dnZ2d@comcast.com...
>>>
>>> "Paul Pedersen" <nospam@no.spam> wrote in message
>>> news:Fq-dnYwC26p4hhvanZ2dnUVZ_vWtnZ2d@comcast.com...
>>>> Newbie here, using WinXP Pro. I uninstalled Apache 2.2.4 and installed
>>>> 2.2.6. It won't start. The system error log says:
>>>>
>>>> The Apache2.2 service terminated with service-specific error 1 (0x1).
>>>>
>>>> Any idea what I'm doing wrong?
>>>>
>>>
>>> It seems to fail because of this added to httpd.conf:
>>>
>>> LoadModule php5_module c:/php5/php5apache2.dll
>>> AddType application/x-httpd-php .php
>>> PHPIniDir "C:\php5"
>>>
>>> I don't know why though. The dll exists. It's a new installation, php
>>> 5.2.5.
>>>

>>
>> As you are using apache2.2, I believe you should be using
>> php5apache2_2.dll not php5apache2.dll

>
>
> Bingo! Thank you!
>
> Apparently my "learn php" book needs to be updated (even though it
> mentioned Apache 2.2).
>
> That bogus error message (dll not found) didn't either. Maybe the
> Apache folks will fix that one of these days.
>


Maybe you should have read the install.txt file that comes with php for
windows:
"Apache 2.2.x Support: Users of Apache 2.2.x may use the documentation below
except the appropriate DLL file is named php5apache2_2.dll"


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h51.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,17255 seconds with 15 queries