Date: Wed, 5 Apr 2023 19:39:35 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: William Dudley <wfdudley@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled Message-ID: <CAAdA2WOm4iJHYb7UZ4YtKeufB46K_PFqqJ3LXcMau_YmWhvEGQ@mail.gmail.com> In-Reply-To: <CAFsnNZJxHSFc-Tb2PmLq59HWNxD6SNjwQqnPneJfRXqMipUw8g@mail.gmail.com> References: <CAFsnNZJxHSFc-Tb2PmLq59HWNxD6SNjwQqnPneJfRXqMipUw8g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000002291b105f8997243 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Apr 5, 2023 at 6:10=E2=80=AFPM William Dudley <wfdudley@gmail.com> = wrote: > Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i386 system. > > I had php81 installed (and some web apps used it), but Apache > won't run if php is enabled in httpd.conf. > > I have another machine running 13.1, but it's amd64. It happily runs > Apache with php80, so I downgraded the i386 machine to php80 > so the two machines would be "the same". > > Except this didn't fix the problem. Apache won't run with either php80 > OR php81 enabled, using this stanza in httpd.conf: > > LoadModule php_module libexec/apache24/libphp.so > > pkg info | grep php > mod_php80-8.0.28_1 PHP Scripting Language > php80-8.0.28_1 PHP Scripting Language > > pkg info | grep apache > apache24-2.4.56 Version 2.4.x of Apache web server > > uname -a > FreeBSD dudley 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC i386 > > Am I doing something stupid? (Wouldn't be the first time.) > How best to debug this? A web search did not enlighten me. > What do you have in /var/log/httpd-error.log? That's the clue that you need to look at and share with us so that we can help you. You should actually be running php82 :-) --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] --0000000000002291b105f8997243 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Wed, Apr 5, 2023 at 6:10=E2=80=AFP= M William Dudley <<a href=3D"mailto:wfdudley@gmail.com">wfdudley@gmail.c= om</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margi= n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex= "><div dir=3D"ltr">Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i3= 86 system.<div><br></div><div>I had php81 installed (and some web apps used= it), but Apache</div><div>won't run if php is enabled in httpd.conf.</= div><div><br></div><div>I have another machine running 13.1, but it's a= md64.=C2=A0 It happily runs</div><div>Apache with php80, so I downgraded th= e i386 machine to php80</div><div>so the two machines would be "the sa= me".</div><div><br></div><div>Except this didn't fix the problem.= =C2=A0 Apache won't run with either php80</div><div>OR php81 enabled, u= sing this stanza in httpd.conf:</div><div><br></div><div>LoadModule php_mod= ule =C2=A0 =C2=A0 =C2=A0 =C2=A0 libexec/apache24/libphp.so<br></div><div><b= r></div><div><font face=3D"monospace">pkg info | grep php<br>mod_php80-8.0.= 28_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PHP Scripting Language<br>ph= p80-8.0.28_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PHP Sc= ripting Language</font></div><div><font face=3D"monospace"><br></font><div>= <div dir=3D"ltr"><font face=3D"monospace">pkg info | grep apache<br>apache2= 4-2.4.56 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Version 2.4= .x of Apache web server<br></font></div><div dir=3D"ltr"><font face=3D"mono= space"><br></font></div><div dir=3D"ltr"><font face=3D"monospace">uname -a<= br>FreeBSD dudley 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC i386</fon= t><br></div><div dir=3D"ltr"><br></div><div>Am I doing something stupid?=C2= =A0 (Wouldn't be the first time.)</div><div>How best to debug this?=C2= =A0 A web search did not enlighten me.</div></div></div></div></blockquote>= <div><br></div><div>What do you have in /var/log/httpd-error.log?</div><div= >That's the clue that you need to look at and share with us so that we = can help you.</div><div>You should actually be running php82 :-)</div><div>= =C2=A0</div></div><br clear=3D"all"><div><br></div><span class=3D"gmail_sig= nature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><di= v dir=3D"ltr"><div dir=3D"ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<b= r>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223<br>"<span style=3D"f= ont-size:12.8px">Oh, the cruft.</span><span style=3D"font-size:12.8px">&quo= t;,=C2=A0</span><span style=3D"font-size:12.8px">egrep -v '^$|^.*#'= =C2=A0</span><span style=3D"background-color:rgb(34,34,34);color:rgb(238,23= 8,238);font-family:"Lucida Console",Consolas,"Courier New&qu= ot;,monospace;font-size:13.6px">=C2=AF\_(=E3=83=84)_/=C2=AF</span><span sty= le=3D"font-size:12.8px">=C2=A0:-)</span></div><div><span style=3D"font-size= :12.8px">[How to ask smart questions:=C2=A0</span><span style=3D"font-size:= 12.8px"><a href=3D"http://www.catb.org/~esr/faqs/smart-questions.html" targ= et=3D"_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>]</span= ></div></div></div></div></div> --0000000000002291b105f8997243--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WOm4iJHYb7UZ4YtKeufB46K_PFqqJ3LXcMau_YmWhvEGQ>