From nobody Wed Apr 05 15:09:37 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 4Ps7N641Gpz43cGw for ; Wed, 5 Apr 2023 15:09:58 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (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 4Ps7N53yH6z3rDW for ; Wed, 5 Apr 2023 15:09:57 +0000 (UTC) (envelope-from wfdudley@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=C2rCSt2d; spf=pass (mx1.freebsd.org: domain of wfdudley@gmail.com designates 2607:f8b0:4864:20::72c as permitted sender) smtp.mailfrom=wfdudley@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-qk1-x72c.google.com with SMTP id bs13so11909171qkb.0 for ; Wed, 05 Apr 2023 08:09:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680707396; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=sISTzy7UT/fJCmLA8GFTb6XFRrmucEhJUMklVQ3hZeU=; b=C2rCSt2djmP9cevJB/jSZKCIcwWQ2md16C1z2lZfOp9QbGuU6zFWF/VLTeUjHzx6Dw rBq6NjLuB/xWRgyRNK4XQwMy40DxsfnIdataHLoIWdnoTLkG+grTN1Qm3r8K187Lui8O e5HfAc1nDZWWdsGef6RRdQpBfMQStW0k3S+AcuGutoiQX+eJQQDfO3GhaqRLA1Wzv3GS 4jZgy0SiaGAph6HS911nWkEA7Bu+whXBfr58hCkWI+rZdLyjenyUYpyJ6XAxL7iQNC8c 3mnxD6HuN5pOoyy2yMUX89oOJMsc0HuUSdK1ivM3ZvIcvBUWFfyY380QK/X7zEBGVTtd oMeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680707396; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=sISTzy7UT/fJCmLA8GFTb6XFRrmucEhJUMklVQ3hZeU=; b=XUaLTqCPV1atLp167MgJId8ETmajYIFELIvuDVqwoaJk5YttbC4Dzha0KjI645xBo6 JB8SbFbgI6DBbNZJYIr+FC9p2cfsYwf5BbTfkEoxJ/RI/qNHOMKQlRNr+sq2h8uem6X3 4tK2nFMi97nGGWuNDh9wXkXKaD7PYLS5dDwBdjUUTh9khCSd0/yMkAs3FhGFadEH9cUN jgGUndKx6UkJZx25DdRgut4SuJ1IVDTFhm//dfT3duP/7GUq/lciaJlCMWVHxQXIys3x PmzXbE0SFxCD7JQVI22Xk5PsLvuYdqX4nwZx6rU+lqfPIaq0oibPzeBbK5X7QX0FqkPn 7xZg== X-Gm-Message-State: AAQBX9dCc4elHC1bOROCJyFxU+iMLyc6vwjxV0nsNkCyFSSu0e3nsrsq InPclQQ0AL17j+zwim7uAfgbCd+b7JtQ06F+2oZGnDQw8GQ= X-Google-Smtp-Source: AKy350YGoGie/w8fL2694M9s4ubtouv5ixDFeEiBb+13MEbcF/NRBusvyLk8a6gG1kCFhZUEuz1GGLx5qd2eT1osNBg= X-Received: by 2002:a05:620a:2482:b0:746:7cf1:d918 with SMTP id i2-20020a05620a248200b007467cf1d918mr1173887qkn.12.1680707395965; Wed, 05 Apr 2023 08:09:55 -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 From: William Dudley Date: Wed, 5 Apr 2023 11:09:37 -0400 Message-ID: Subject: updated to 13.1 (i386). Apache won't run if php80 enabled To: freebsd-questions Content-Type: multipart/alternative; boundary="0000000000004eda8905f8982f9a" X-Spamd-Result: default: False [-3.97 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.973]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72c:from]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4Ps7N53yH6z3rDW X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --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
Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i386= system.

I had php81 installed (and some web apps used i= t), but Apache
won't run if php is enabled in httpd.conf.

I have another machine running 13.1, but it's amd= 64.=C2=A0 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.=C2= =A0 Apache won't run with either php80
OR php81 enabled, usin= g this stanza in httpd.conf:

LoadModule php_module= =C2=A0 =C2=A0 =C2=A0 =C2=A0 libexec/apache24/libphp.so

<= /div>
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
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

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

<= div dir=3D"ltr" class=3D"gmail_signature show" data-smartmail=3D"gmail_sign= ature">uname -a
FreeBSD dudley 13.1-RELEASE-p3 = FreeBSD 13.1-RELEASE-p3 GENERIC i386


Am I doi= ng something stupid?=C2=A0 (Wouldn't be the first time.)
How best to d= ebug this?=C2=A0 A web search did not enlighten me.

Thanks,
<= div class=3D"gmail_signature show" data-smartmail=3D"gmail_signature">Bill = Dudley
New Jersey, USA
This email is free of malware because I run= Linux.
--0000000000004eda8905f8982f9a--