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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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.

[-- Attachment #2 --]
<div dir="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 it), but Apache</div><div>won&#39;t run if php is enabled in httpd.conf.</div><div><br></div><div>I have another machine running 13.1, but it&#39;s amd64.  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.  Apache won&#39;t run with either php80</div><div>OR php81 enabled, using this stanza in httpd.conf:</div><div><br></div><div>LoadModule php_module         libexec/apache24/libphp.so<br></div><div><br></div><div><font face="monospace">pkg info | grep php<br>mod_php80-8.0.28_1             PHP Scripting Language<br>php80-8.0.28_1                 PHP Scripting Language</font></div><div><font face="monospace"><br></font><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><font face="monospace">pkg info | grep apache<br>apache24-2.4.56                Version 2.4.x of Apache web server<br></font></div><div dir="ltr" class="gmail_signature show" data-smartmail="gmail_signature"><font face="monospace"><br></font></div><div dir="ltr" class="gmail_signature show" data-smartmail="gmail_signature"><font face="monospace">uname -a<br>FreeBSD dudley 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC i386</font><br></div><div dir="ltr" class="gmail_signature show" data-smartmail="gmail_signature"><br></div><div class="gmail_signature show" data-smartmail="gmail_signature">Am I doing something stupid?  (Wouldn&#39;t be the first time.)</div><div class="gmail_signature show" data-smartmail="gmail_signature">How best to debug this?  A web search did not enlighten me.</div><div class="gmail_signature show" data-smartmail="gmail_signature"><br></div><div class="gmail_signature show" data-smartmail="gmail_signature">Thanks,</div><div class="gmail_signature show" data-smartmail="gmail_signature">Bill Dudley</div><div class="gmail_signature show" data-smartmail="gmail_signature">New Jersey, USA</div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">This email is free of malware because I run Linux.</div></div></div></div>
help

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