Re: updated to 13.1 (i386). Apache won't run if php80 enabled

From: Odhiambo Washington <odhiambo_at_gmail.com>
Date: Wed, 05 Apr 2023 16:39:35 UTC
On Wed, Apr 5, 2023 at 6:10 PM 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 :-)



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]