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

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

am 10.01.2008 14:21:53 von Mathieu Chavoutier

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?

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

am 10.01.2008 14:57:51 von Mathieu Chavoutier

"Paul Pedersen" 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.

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

am 10.01.2008 15:47:38 von Kees Nuyt

On Thu, 10 Jan 2008 05:57:51 -0800, "Paul Pedersen"
wrote:

>
>"Paul Pedersen" 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)

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

am 10.01.2008 17:20:20 von Mathieu Chavoutier

"Kees Nuyt" wrote in message
news:2nbco3dd67hsk6blkjq8u3fq26ri4j9k1g@dim53.demon.nl...
> On Thu, 10 Jan 2008 05:57:51 -0800, "Paul Pedersen"
> wrote:
>
>>
>>"Paul Pedersen" 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?

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

am 10.01.2008 17:59:54 von phantom

"Paul Pedersen" wrote in message
news:eKCdnba1YO7JuRvanZ2dnUVZ_j-dnZ2d@comcast.com...
>
> "Paul Pedersen" 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

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

am 10.01.2008 20:01:00 von Mathieu Chavoutier

"phantom" wrote in message
news:eashj.75285$c_1.9111@text.news.blueyonder.co.uk...
> "Paul Pedersen" wrote in message
> news:eKCdnba1YO7JuRvanZ2dnUVZ_j-dnZ2d@comcast.com...
>>
>> "Paul Pedersen" 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 help either. Maybe the
Apache folks will fix that one of these days.

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

am 11.01.2008 10:09:03 von phantom

"Paul Pedersen" wrote in message
news:0LudnbNnRsH99hvanZ2dnUVZ_qSonZ2d@comcast.com...
>
> "phantom" wrote in message
> news:eashj.75285$c_1.9111@text.news.blueyonder.co.uk...
>> "Paul Pedersen" wrote in message
>> news:eKCdnba1YO7JuRvanZ2dnUVZ_j-dnZ2d@comcast.com...
>>>
>>> "Paul Pedersen" 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 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"