Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2023 11:09:37 -0400
From:      William Dudley <wfdudley@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   updated to 13.1 (i386). Apache won't run if php80 enabled
Message-ID:  <CAFsnNZJxHSFc-Tb2PmLq59HWNxD6SNjwQqnPneJfRXqMipUw8g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0000000000004eda8905f8982f9a
Content-Type: text/plain; charset="UTF-8"

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.

Thanks,
Bill Dudley
New Jersey, USA
This email is free of malware because I run Linux.

--0000000000004eda8905f8982f9a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i386=
 system.<div><br></div><div>I had php81 installed (and some web apps used i=
t), but Apache</div><div>won&#39;t run if php is enabled in httpd.conf.</di=
v><div><br></div><div>I have another machine running 13.1, but it&#39;s amd=
64.=C2=A0 It happily runs</div><div>Apache with php80, so I downgraded the =
i386 machine to php80</div><div>so the two machines would be &quot;the same=
&quot;.</div><div><br></div><div>Except this didn&#39;t fix the problem.=C2=
=A0 Apache won&#39;t run with either php80</div><div>OR php81 enabled, usin=
g this stanza in httpd.conf:</div><div><br></div><div>LoadModule php_module=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libexec/apache24/libphp.so<br></div><div><br><=
/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>php80=
-8.0.28_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PHP Scrip=
ting Language</font></div><div><font face=3D"monospace"><br></font><div><di=
v dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature">=
<font face=3D"monospace">pkg info | grep apache<br>apache24-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" class=3D"gmail_signature show" dat=
a-smartmail=3D"gmail_signature"><font face=3D"monospace"><br></font></div><=
div dir=3D"ltr" class=3D"gmail_signature show" data-smartmail=3D"gmail_sign=
ature"><font face=3D"monospace">uname -a<br>FreeBSD dudley 13.1-RELEASE-p3 =
FreeBSD 13.1-RELEASE-p3 GENERIC i386</font><br></div><div dir=3D"ltr" class=
=3D"gmail_signature show" data-smartmail=3D"gmail_signature"><br></div><div=
 class=3D"gmail_signature show" data-smartmail=3D"gmail_signature">Am I doi=
ng something stupid?=C2=A0 (Wouldn&#39;t be the first time.)</div><div clas=
s=3D"gmail_signature show" data-smartmail=3D"gmail_signature">How best to d=
ebug this?=C2=A0 A web search did not enlighten me.</div><div class=3D"gmai=
l_signature show" data-smartmail=3D"gmail_signature"><br></div><div class=
=3D"gmail_signature show" data-smartmail=3D"gmail_signature">Thanks,</div><=
div class=3D"gmail_signature show" data-smartmail=3D"gmail_signature">Bill =
Dudley</div><div class=3D"gmail_signature show" data-smartmail=3D"gmail_sig=
nature">New Jersey, USA</div><div dir=3D"ltr" class=3D"gmail_signature" dat=
a-smartmail=3D"gmail_signature">This email is free of malware because I run=
 Linux.</div></div></div></div>

--0000000000004eda8905f8982f9a--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFsnNZJxHSFc-Tb2PmLq59HWNxD6SNjwQqnPneJfRXqMipUw8g>