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?
Mathieu Chavoutier [ Do, 10 Januar 2008 14:21 ] [ ID #1904614 ]

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

"Paul Pedersen" <nospam [at] no.spam> wrote in message
news:Fq-dnYwC26p4hhvanZ2dnUVZ_vWtnZ2d [at] 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.
Mathieu Chavoutier [ Do, 10 Januar 2008 14:57 ] [ ID #1904615 ]

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 [at] no.spam> wrote:

>
>"Paul Pedersen" <nospam [at] no.spam> wrote in message
>news:Fq-dnYwC26p4hhvanZ2dnUVZ_vWtnZ2d [at] 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)
Kees Nuyt [ Do, 10 Januar 2008 15:47 ] [ ID #1904616 ]

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

"Kees Nuyt" <k.nuyt [at] nospam.demon.nl> wrote in message
news:2nbco3dd67hsk6blkjq8u3fq26ri4j9k1g [at] dim53.demon.nl...
> On Thu, 10 Jan 2008 05:57:51 -0800, "Paul Pedersen"
> <nospam [at] no.spam> wrote:
>
>>
>>"Paul Pedersen" <nospam [at] no.spam> wrote in message
>>news:Fq-dnYwC26p4hhvanZ2dnUVZ_vWtnZ2d [at] 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?
Mathieu Chavoutier [ Do, 10 Januar 2008 17:20 ] [ ID #1904617 ]

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

"Paul Pedersen" <nospam [at] no.spam> wrote in message
news:eKCdnba1YO7JuRvanZ2dnUVZ_j-dnZ2d [at] comcast.com...
>
> "Paul Pedersen" <nospam [at] no.spam> wrote in message
> news:Fq-dnYwC26p4hhvanZ2dnUVZ_vWtnZ2d [at] 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
phantom [ Do, 10 Januar 2008 17:59 ] [ ID #1904618 ]

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

"phantom" <nobody [at] blueyonder.invalid> wrote in message
news:eashj.75285$c_1.9111 [at] text.news.blueyonder.co.uk...
> "Paul Pedersen" <nospam [at] no.spam> wrote in message
> news:eKCdnba1YO7JuRvanZ2dnUVZ_j-dnZ2d [at] comcast.com...
>>
>> "Paul Pedersen" <nospam [at] no.spam> wrote in message
>> news:Fq-dnYwC26p4hhvanZ2dnUVZ_vWtnZ2d [at] 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 help either. Maybe the
Apache folks will fix that one of these days.
Mathieu Chavoutier [ Do, 10 Januar 2008 20:01 ] [ ID #1904619 ]

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

"Paul Pedersen" <nospam [at] no.spam> wrote in message
news:0LudnbNnRsH99hvanZ2dnUVZ_qSonZ2d [at] comcast.com...
>
> "phantom" <nobody [at] blueyonder.invalid> wrote in message
> news:eashj.75285$c_1.9111 [at] text.news.blueyonder.co.uk...
>> "Paul Pedersen" <nospam [at] no.spam> wrote in message
>> news:eKCdnba1YO7JuRvanZ2dnUVZ_j-dnZ2d [at] comcast.com...
>>>
>>> "Paul Pedersen" <nospam [at] no.spam> wrote in message
>>> news:Fq-dnYwC26p4hhvanZ2dnUVZ_vWtnZ2d [at] 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 help 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"
phantom [ Fr, 11 Januar 2008 10:09 ] [ ID #1905435 ]
Webserver » alt.apache.configuration » 2.2.6 won't start - The Apache2.2 service terminated with service-specific error 1 (0x1).

Vorheriges Thema: Is there a mod that can do this?
Nächstes Thema: what to do to start Apache automatically in Linux