From nobody Mon Dec 25 13:07:23 2023 X-Original-To: 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 4SzJ9T1m78z54gR9 for ; Mon, 25 Dec 2023 13:07:57 +0000 (UTC) (envelope-from lain@fair.moe) Received: from mail.076.ne.jp (mail.076.ne.jp [45.76.218.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SzJ9R2cs6z3CX7 for ; Mon, 25 Dec 2023 13:07:55 +0000 (UTC) (envelope-from lain@fair.moe) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=076.ne.jp header.s=dkim header.b="B /kyvLe"; spf=none (mx1.freebsd.org: domain of lain@fair.moe has no SPF policy when checking 45.76.218.69) smtp.mailfrom=lain@fair.moe; dmarc=none Received: from mail.076.ne.jp (localhost [127.0.0.1]) by mail.076.ne.jp (Postfix) with ESMTP id 4SzJ9N3kBSzW0rc for ; Mon, 25 Dec 2023 22:07:52 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=076.ne.jp; h= content-transfer-encoding:user-agent:in-reply-to :content-disposition:content-type:mime-version:references :message-id:subject:to:from:date; s=dkim; t=1703509671; x= 1706101672; bh=NJrM+4AbJp3BiFkg/8dXKR+2kzwx/y5+YZIlHcVOEa0=; b=B /kyvLeGFrhMDzqAYl9YR+Aw5iZgLR2koqIXisbq8snBOv4iobif0x7YLpcpghpHE EQQj2v1ZczlMrTEaaXUAHRniBhwbHD1R8ClnvDKgNKTw/FfAgfJlP1vRCBimz6wS OalzClgPNXzkrGJn1sY7i+7FmU6VqBsOndCBk0tSYVwM8F4SJ/xlCKTUf36p1GmC 3dbIwc3jlpcW3ZwX7DRHY0zGXEMnvLTvbaOQhiA921Xn92bmfn4rCPKlcOiauNd1 6ySteietYwjtRR3qw3onyJ9paWF+ZXQkGZWDvSFDOZypnHTUD5l2QRrmfqD3wHXP NWXtB9lnlGggP+Qr3u45A== X-Virus-Scanned: Debian amavisd-new at guest.guest Received: from mail.076.ne.jp ([127.0.0.1]) by mail.076.ne.jp (mail.076.ne.jp [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZJmU43C6nhrW for ; Mon, 25 Dec 2023 22:07:51 +0900 (JST) Received: from mail.fair.moe (ip1.193.076.moe [219.117.254.193]) by mail.076.ne.jp (Postfix) with ESMTPSA id 4SzJ9M4zXMzW0bn for ; Mon, 25 Dec 2023 22:07:51 +0900 (JST) Date: Mon, 25 Dec 2023 22:07:23 +0900 From: "lain." To: questions@freebsd.org Subject: Re: Re: PHP Issue - for the sysadmins Message-ID: X-Location: =?utf-8?B?IkVhcnRoL+WcsOeQgyI=?= X-Operating-System: "GNU/Linux" References: 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20231221 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-2.80 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[076.ne.jp:s=dkim]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[076.ne.jp:+]; DMARC_NA(0.00)[fair.moe]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:20473, ipnet:45.76.192.0/19, country:US]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4SzJ9R2cs6z3CX7 X-Spamd-Bar: -- On 2023=E5=B9=B412=E6=9C=8825=E6=97=A5 15:24, the silly Odhiambo Washingt= on claimed to have said: > On Mon, Dec 25, 2023 at 3:12=E2=80=AFPM Odhiambo Washington > wrote: > > You are right to an extent. I am using php-fpm for the site. > > I thought that php-fpm should inherit all modules loaded by PHP. No? > > How then do I tell php-fpm to do it? > > >=20 > Just to add. This is FreeBSD and there is only one php.ini file - > /usr/local/etc/php.ini >=20 Of course I know you're using FreeBSD, considering you're asking this in a FreeBSD mailing list, so totally not assuming you're using Windows 98 or something. I installed PHP on my FreeBSD server (pkg install php83) just to check. It does indeed seem to differ a little bit from Linux (I don't use PHP anymore, I switched to Go some time ago after a solid 2 decades of coding in PHP). However, could you check both your CLI output and web output on what ini path it's returning? --=20 lain. Did you know that? 90% of all emails sent on a daily basis are being sent in plain text, and= it's super easy to intercept emails as they flow over the internet? Never send passwords, tokens, personal information, or other volunerable = information without proper PGP encryption! If you're writing your emails unencrypted, please consider sending PGP en= crypted emails for security reasons. You can find my PGP public key at: https://fair.moe/lain.asc Every good email client is able to send encrypted emails. If yours can't, then you should consider switching to a secure email clie= nt, because yours just sucks. My recommendations are Claws Mail or NeoMutt. For instructions on how to encrypt your emails: https://unixsheikh.com/tutorials/gnupg-tutorial.html