|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
"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. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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) |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
"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? |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
"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 |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
"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. |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
"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" |
|
![]() |
| Outils de la discussion | |
|
|