From nobody Wed Apr 05 16:39:35 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ps9NG5lnGz43kVB for ; Wed, 5 Apr 2023 16:40:14 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ps9NG2g0Vz42Nd for ; Wed, 5 Apr 2023 16:40:14 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22e.google.com with SMTP id y7so5484551ljp.2 for ; Wed, 05 Apr 2023 09:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680712812; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5UVWbAdys762ELECI/K4UDkJ2p3usZvbkCHHXKy6aqg=; b=qbvkeA2asB8z/s0HW7AncYY9fiG+ffS0LnSehgbFwGesAkLri4HEjp2F5uv2IXQLKy AsWsTTk8KGr7wcuMVdI+zIgQTteFwy86y2P+qzgkwr00RxDI6QBMyqYoDco+F+7R1ZlF 1ZALlx4pBCvqmSKOw3Imo7TguyDo3K1o3JrfiIOaQ0k0iwI/XcAr3eskCtuO9sKAlwS7 ejpnp0bP+z1lzMoX4ZJxOs2+Qu1HOeWCfqJsVZZcQngYIFvNPjgJUm+1kftb9l+ZeLWH ajvqvckrwVPyU7tlmA2fgP8z9Ju9Hh5XC6n5XzEpCaoIxHVYhRu00XtOmb/JORnrHtgu mtFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680712812; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5UVWbAdys762ELECI/K4UDkJ2p3usZvbkCHHXKy6aqg=; b=UMTYgPaVytN2KEjUT/03cnhjehGCvmTSMJXfbVwY/eKcIQws1Wgf1gVBqrjBTecONT 7UxfM58hMe/f17KAdNBH/tQymeyl2moOCykOI/IRZGoEwsLu1cciFJACeh1ymvgqeuSI v7+MjNYypwAcmlJ2YVVYIIYOhJzAviwNLFaE5GNrMwzHd6LjwQyoO3kStMZTWlaE1e/+ t5FsdVR+q6vaavai9RXQHD48V0PFo/SnW0FBaw4NN+FRsCa4g/Z21zfOW9vD53OvI+Sr 7BCQHyN2yFgCE0qBFoKt5Bb/edc11gIWDcYXtPCBQkCNyvLYUXy1QzwgF5z5354Qi/Bx v1Vg== X-Gm-Message-State: AAQBX9fPYGTJ770pcUOOogtcW3sEau3bP091PqxZBoupa/upoaZowj5J t8IYD2Dn5FmSj3/QAzle6+mZj1hPUOn+XHCx6RgsCPglPlAdjQ== X-Google-Smtp-Source: AKy350ZMC6MHJ30L5DV5l2HHEvjE+2Pvhyt+AwWIe6ihrOxkWM+fWUrTSd0g9tI91jfbdl4sj3ZQpaWOa78GT9H9e2I= X-Received: by 2002:a2e:240b:0:b0:2a6:de0:79af with SMTP id k11-20020a2e240b000000b002a60de079afmr2338688ljk.10.1680712812104; Wed, 05 Apr 2023 09:40:12 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Odhiambo Washington Date: Wed, 5 Apr 2023 19:39:35 +0300 Message-ID: Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled To: William Dudley Cc: freebsd-questions Content-Type: multipart/alternative; boundary="0000000000002291b105f8997243" X-Rspamd-Queue-Id: 4Ps9NG2g0Vz42Nd X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --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 = 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


=
On Wed, Apr 5, 2023 at 6:10=E2=80=AFP= M William Dudley <wfdudley@gmail.c= om> wrote:
Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i3= 86 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 a= md64.=C2=A0 It happily runs
Apache with php80, so I downgraded th= e i386 machine to php80
so the two machines would be "the sa= me".

Except this didn't fix the problem.= =C2=A0 Apache won't run with either php80
OR php81 enabled, u= sing this stanza in httpd.conf:

LoadModule php_mod= ule =C2=A0 =C2=A0 =C2=A0 =C2=A0 libexec/apache24/libphp.so
pkg info | grep php
mod_php80-8.0.= 28_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PHP Scripting Language
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

=
pkg info | grep apache
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

uname -a<= br>FreeBSD dudley 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC i386

Am I doing something stupid?=C2= =A0 (Wouldn't be the first time.)
How best to debug this?=C2= =A0 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 :-)
= =C2=A0


--
Best regards,
Odhiambo WASHINGTON,Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.&quo= t;,=C2=A0egrep -v '^$|^.*#'= =C2=A0=C2=AF\_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask smart questions:=C2=A0http://www.catb.org/~esr/faqs/smart-questions.html]
--0000000000002291b105f8997243--