From nobody Mon Dec 25 10:23:16 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 4SzDXF0pBrz54Shx for ; Mon, 25 Dec 2023 10:23:57 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 4SzDXD322yz4R0m for ; Mon, 25 Dec 2023 10:23:56 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=ctGheWbd; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2a00:1450:4864:20::22b as permitted sender) smtp.mailfrom=odhiambo@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2ccbbb5eb77so9925841fa.2 for ; Mon, 25 Dec 2023 02:23:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703499832; x=1704104632; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=XqqH/l93GcDGwERs7h7/PYkws7SswnMQwsOGwla+zBE=; b=ctGheWbdUbR4WUxpZZ3baGJGlmNDFe8stWYW9YhhW+jD3RIyDTLKbgSiXeUmbEfETx eA5M53nU4iwJlfdfQTn/TsgYIbGCHTPwLUEVzUB7F1Fcztac1wXeeXKK/lwK0dxJdSeL TVlrR6jV07NSl+K/IpXN2XjjzagrFD8HTBP2VlAUWtMxhDQJohhBalLifAA7dlKAbcXO 6hwcgLskHVrag5mzDv19VO561uJYmoxhHKhiCi9fVxBuaSJnTwi3qv6xIXqQpCeLzauL /FuGWOHOeOwIFcZ9jHrmlsq7mXf7l0hAhdFCopwZIu4EkgYDEZovmLWl1enGohtN+hRt 0kpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703499832; x=1704104632; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XqqH/l93GcDGwERs7h7/PYkws7SswnMQwsOGwla+zBE=; b=CsIz14B66hzcX/o6X80tbniW3Mbtr5LZ6AMydIOZi6RAahcayN/DYvJH6bIY52ByG0 ox7g2WtzC5b7iaP8zmZZagvhcGyyiUSSoayu7WHe7yTlz5cKT9rX+Ss+Aa/QPGi2XJ/0 KTSe1QBwvNgyOOy/YCBiV5LGSFTEsUgfB9BiDOMCX6vJJm3TjdQcT+W/OIAe8+M2WjWu evBd0JSVdVMo/cuiYQ1mKfYAWQYl92+u168h2iTcBOseCM7VX8zQO74UvT2xHxEAS6ya qDv4N6zHdBHHIfppgFM7PPSH5uEPtuLLFZGDJZVmapzDNMC8OVpeWr3NK8awRIlbRy78 dp5Q== X-Gm-Message-State: AOJu0Yx0feHHQ2+BcTFskPTiQF//mkPygI5xxvNstsa2O/deHFGoOl+/ PFFxzyjuWvDizbSn+asfLuNohj03OrwHYRRWKDAozjcbS9Nfow== X-Google-Smtp-Source: AGHT+IEJzLYoReJ5+8fv4IoaTpKC6x3MIw3/O0uUW1qsW81278c2zOX8BDchE8vSbXdoNP9s9JgZFnc4w7q5CESvFBc= X-Received: by 2002:a2e:878a:0:b0:2cc:879c:cd50 with SMTP id n10-20020a2e878a000000b002cc879ccd50mr1935568lji.19.1703499832449; Mon, 25 Dec 2023 02:23:52 -0800 (PST) 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: Odhiambo Washington Date: Mon, 25 Dec 2023 13:23:16 +0300 Message-ID: Subject: PHP Issue - for the sysadmins To: questions , php-general@lists.php.net Content-Type: multipart/alternative; boundary="000000000000635d8e060d52f63e" X-Spamd-Result: default: False [-3.65 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.65)[-0.646]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22b:from]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4SzDXD322yz4R0m X-Spamd-Bar: --- --000000000000635d8e060d52f63e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am perplexed by a situation here: When I run php -r "print_r(get_loaded_extensions());", I get the output below, which has memcache/memcached modules loaded. ``` Array ( [0] =3D> Core [1] =3D> date [2] =3D> libxml [3] =3D> openssl [4] =3D> pcre [5] =3D> hash [6] =3D> json [7] =3D> random [8] =3D> Reflection [9] =3D> SPL [10] =3D> session [11] =3D> standard [12] =3D> mysqlnd [13] =3D> apcu [14] =3D> bcmath [15] =3D> bz2 [16] =3D> calendar [17] =3D> ctype [18] =3D> curl [19] =3D> dom [20] =3D> mbstring [21] =3D> FFI [22] =3D> fileinfo [23] =3D> filter [24] =3D> ftp [25] =3D> gd [26] =3D> gettext [27] =3D> gmp [28] =3D> iconv [29] =3D> imagick [30] =3D> intl [31] =3D> ldap [32] =3D> exif [33] =3D> mysqli [34] =3D> PDO [35] =3D> pgsql [36] =3D> zlib [37] =3D> posix [38] =3D> pspell [39] =3D> SimpleXML [40] =3D> soap [41] =3D> sockets [42] =3D> sodium [43] =3D> sqlite3 [44] =3D> sysvmsg [45] =3D> sysvsem [46] =3D> sysvshm [47] =3D> tidy [48] =3D> tokenizer [49] =3D> xml [50] =3D> xmlwriter [51] =3D> zip [52] =3D> Phar [53] =3D> imap [54] =3D> memcache [55] =3D> memcached [56] =3D> pdo_mysql [57] =3D> pdo_pgsql [58] =3D> pdo_sqlite [59] =3D> redis [60] =3D> xmlreader [61] =3D> xsl [62] =3D> Zend OPcache ) ``` However, when I put a file containing in a publicly accessible directory and access it from a browser, the two modules are NOT listed as loaded. What am I missing? -- 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] --000000000000635d8e060d52f63e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am perplexed by a situation here:

Whe= n I run php -r "print_r(get_loaded_extensions());", I get the out= put below, which has memcache/memcached modules loaded.
```
= Array
(
=C2=A0 =C2=A0 [0] =3D> Core
=C2=A0 =C2=A0 [1] =3D> d= ate
=C2=A0 =C2=A0 [2] =3D> libxml
=C2=A0 =C2=A0 [3] =3D> openss= l
=C2=A0 =C2=A0 [4] =3D> pcre
=C2=A0 =C2=A0 [5] =3D> hash
= =C2=A0 =C2=A0 [6] =3D> json
=C2=A0 =C2=A0 [7] =3D> random
=C2= =A0 =C2=A0 [8] =3D> Reflection
=C2=A0 =C2=A0 [9] =3D> SPL
=C2= =A0 =C2=A0 [10] =3D> session
=C2=A0 =C2=A0 [11] =3D> standard
= =C2=A0 =C2=A0 [12] =3D> mysqlnd
=C2=A0 =C2=A0 [13] =3D> apcu
= =C2=A0 =C2=A0 [14] =3D> bcmath
=C2=A0 =C2=A0 [15] =3D> bz2
=C2= =A0 =C2=A0 [16] =3D> calendar
=C2=A0 =C2=A0 [17] =3D> ctype
=C2= =A0 =C2=A0 [18] =3D> curl
=C2=A0 =C2=A0 [19] =3D> dom
=C2=A0 = =C2=A0 [20] =3D> mbstring
=C2=A0 =C2=A0 [21] =3D> FFI
=C2=A0 = =C2=A0 [22] =3D> fileinfo
=C2=A0 =C2=A0 [23] =3D> filter
=C2=A0= =C2=A0 [24] =3D> ftp
=C2=A0 =C2=A0 [25] =3D> gd
=C2=A0 =C2=A0 = [26] =3D> gettext
=C2=A0 =C2=A0 [27] =3D> gmp
=C2=A0 =C2=A0 [28= ] =3D> iconv
=C2=A0 =C2=A0 [29] =3D> imagick
=C2=A0 =C2=A0 [30]= =3D> intl
=C2=A0 =C2=A0 [31] =3D> ldap
=C2=A0 =C2=A0 [32] =3D&= gt; exif
=C2=A0 =C2=A0 [33] =3D> mysqli
=C2=A0 =C2=A0 [34] =3D>= PDO
=C2=A0 =C2=A0 [35] =3D> pgsql
=C2=A0 =C2=A0 [36] =3D> zlib=
=C2=A0 =C2=A0 [37] =3D> posix
=C2=A0 =C2=A0 [38] =3D> pspell=C2=A0 =C2=A0 [39] =3D> SimpleXML
=C2=A0 =C2=A0 [40] =3D> soap=C2=A0 =C2=A0 [41] =3D> sockets
=C2=A0 =C2=A0 [42] =3D> sodium=C2=A0 =C2=A0 [43] =3D> sqlite3
=C2=A0 =C2=A0 [44] =3D> sysvmsg<= br>=C2=A0 =C2=A0 [45] =3D> sysvsem
=C2=A0 =C2=A0 [46] =3D> sysvshm=
=C2=A0 =C2=A0 [47] =3D> tidy
=C2=A0 =C2=A0 [48] =3D> tokenizer=
=C2=A0 =C2=A0 [49] =3D> xml
=C2=A0 =C2=A0 [50] =3D> xmlwriter<= br>=C2=A0 =C2=A0 [51] =3D> zip
=C2=A0 =C2=A0 [52] =3D> Phar
=C2= =A0 =C2=A0 [53] =3D> imap
=C2=A0 =C2=A0 [54] =3D> memcache
=C2= =A0 =C2=A0 [55] =3D> memcached
=C2=A0 =C2=A0 [56] =3D> pdo_mysql=C2=A0 =C2=A0 [57] =3D> pdo_pgsql
=C2=A0 =C2=A0 [58] =3D> pdo_sq= lite
=C2=A0 =C2=A0 [59] =3D> redis
=C2=A0 =C2=A0 [60] =3D> xmlr= eader
=C2=A0 =C2=A0 [61] =3D> xsl
=C2=A0 =C2=A0 [62] =3D> Zend = OPcache
)
```

However, when I put a fi= le containing <?PHP phpinfo(); ?> in a publicly accessible directory = and access it from a browser, the two modules are NOT listed as loaded.
What am I missing?



--
Be= st regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 = 7 2274 3223
"Oh, the cruft.= ",=C2=A0egrep -v '^$|^.*#'=C2=A0=C2=AF= \_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask smart questions:= =C2=A0http://www.catb.org/~es= r/faqs/smart-questions.html]
--000000000000635d8e060d52f63e-- From nobody Mon Dec 25 11:56:05 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 4SzGbG5gVDz54ZqZ for ; Mon, 25 Dec 2023 11:56:42 +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 4SzGbF2JN5z4bMb for ; Mon, 25 Dec 2023 11:56:40 +0000 (UTC) (envelope-from lain@fair.moe) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=076.ne.jp header.s=dkim header.b="l /k7x4p"; 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 4SzGb46w1GzW0rc for ; Mon, 25 Dec 2023 20:56:32 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=076.ne.jp; h= user-agent:in-reply-to:content-transfer-encoding :content-disposition:content-type:mime-version:references :message-id:subject:to:from:date; s=dkim; t=1703505392; x= 1706097393; bh=0JW9kgcoJiwrd29Sr0NVhvDOP4Axj/ZoEKwzUHhEMek=; b=l /k7x4pm8Q9xhw9c4ZyutSIb/OvTzqijFrphgrfeDzcnNQy4uS/oVk1gegloWpDL7 GvuKNFvhzxu/fpbBPd6aBsae9JPh2h1HRZK8SGkj6Ee5IYWgWhlQWEeLgM7NNNR3 IQJ7dSOLxPW3bqO9JGFXmM56JwuBuaH9t2HRNB5GToUgSTp9d8zUBnMeFNYANQZI RYCDKAV1N8DcbLt+M2jLh5D0fedkxnyc1GrQfd5uyu53/Cj5gd5bs319INwbk6ua 4HU7SAzRjKNM/hL84anb1VMHHZULzSCa7nRgW6Z9eMrFn+czWnG27vlqpOMCtJDN ZPIOanYKLhpGpAsc7cwNQ== 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 DjndfKLwOvVm for ; Mon, 25 Dec 2023 20:56:32 +0900 (JST) Received: from mail.fair.moe (ip1.193.076.moe [219.117.254.193]) by mail.076.ne.jp (Postfix) with ESMTPSA id 4SzGb42bSmzW0bn for ; Mon, 25 Dec 2023 20:56:32 +0900 (JST) Date: Mon, 25 Dec 2023 20:56:05 +0900 From: "lain." To: questions@freebsd.org Subject: 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 Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: NeoMutt/20231221 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: 4SzGbF2JN5z4bMb X-Spamd-Bar: -- On 2023=E5=B9=B412=E6=9C=8825=E6=97=A5 13:23, the silly Odhiambo Washington= claimed to have said: > I am perplexed by a situation here: >=20 > When I run php -r "print_r(get_loaded_extensions());", I get the output > below, which has memcache/memcached modules loaded. > ``` > Array > ( > stuff > ) > ``` >=20 > However, when I put a file containing in a publicly > accessible directory and access it from a browser, the two modules are NOT > listed as loaded. > What am I missing? If you run PHP in the command line, you're using the regular CLI PHP, but in the browser you're most likely running PHP-FPM. PHP and PHP-FPM each run off a separate config.ini file, so it's possible you've loaded in memcache/memcached in the CLI version, but not in the FPM version. --=20 lain. Did you know that? 90% of all emails sent on a daily basis are being sent in plain text, and i= t's super easy to intercept emails as they flow over the internet? Never send passwords, tokens, personal information, or other volunerable in= formation without proper PGP encryption! If you're writing your emails unencrypted, please consider sending PGP encr= ypted 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 client= , 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 From nobody Mon Dec 25 13:02:06 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 4SzJ3W2L8Jz54fvH for ; Mon, 25 Dec 2023 13:02:47 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) (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 4SzJ3V4ykpz4g5J for ; Mon, 25 Dec 2023 13:02:46 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Vi9Mndmw; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2a00:1450:4864:20::232 as permitted sender) smtp.mailfrom=odhiambo@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2cca5e7b390so31430761fa.3 for ; Mon, 25 Dec 2023 05:02:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703509364; x=1704114164; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=km6nG2VmunyjcjuqxLCfuneLUzd67qCJ/7X0FyDm/Q8=; b=Vi9MndmwpO4TzPdXRBCZzuMMeMhhJ8tMhRNnlE6ImaMAlKzzCXWaJ5hLUWsmhmZZaG QFkYGiK5Ap7wMWyTk9T/Cq1W2E7mJIBGb4QoZ+7+JDQfg46ND1qxYrOLTfbMhdy5M7ci GThmQJs0JYCJ+lPqIB4v9CjGlXpeLFVOl7Js4gnTVEmmBIQqzgkANthc2pDAP80r+oko R174m5DoYtMGMhlINS7wPnBP2DRCABCfrcIHjoPp7WApM3sKlo72b28K/B3wBrlhacRt UiAxh1L3kqW6zdW9Jqs7AO1I/s/41oUqGnf4Fl5S+Lrif0ERNI3JUIKFEbB8vIIf7L7R 1GNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703509364; x=1704114164; h=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=km6nG2VmunyjcjuqxLCfuneLUzd67qCJ/7X0FyDm/Q8=; b=q3GASuCE0OJdZo/hiG6UMM6vC+L7N5qcqS8NgqBf/u4OEOw8Y/xLvJQENT/SbCyicb zm8ix1V21rQvMxzQZkYYHCpPOjHZHju+ZpTgHdPTkdw9zmvTZZlovcM7cJD4MMkRybMB wcZXr5VGhNa6oMb3vP6TTJk085IcKCvCOm7cNCCDogNDDianIyAprrMqKN/0+Qmb5B+P Uc0gzquF+pPvSbQpcy8kJVKvr9eN1CS+DTwj8xAhFUicMucH5HiE80cAwtfz75XqDFj7 PBDpP6Z+7sIYNsG7EFw1ppDo110vhm6SgALbprn7PzEs/D8O14wjvW5j6OgFf9eQsR39 fXng== X-Gm-Message-State: AOJu0Yx4qilLZnUrT29727wjNyN8p01xcFqK5zQa9TmxfiIePNN5HZcj rropoD7kbs1wln1J4lhaU72ssgDCWkuTBuGuD0F5gI4zBClNDsVG X-Google-Smtp-Source: AGHT+IGEKhXP0wd/mGj6l0UoX5xkx0RPxNhLa0FrKeWQGxE56EiIwTe9Lw6/4tD9HOmDY0YQJE0FVlJ6Yuc7pjskJNM= X-Received: by 2002:a05:651c:390:b0:2cc:6aa9:7c7c with SMTP id e16-20020a05651c039000b002cc6aa97c7cmr1895454ljp.47.1703509363521; Mon, 25 Dec 2023 05:02:43 -0800 (PST) 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: Mon, 25 Dec 2023 16:02:06 +0300 Message-ID: Subject: Re: PHP Issue - for the sysadmins To: questions , php-general@lists.php.net Content-Type: multipart/alternative; boundary="0000000000007bfc05060d552e0f" X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.984]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::232:from]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4SzJ3V4ykpz4g5J X-Spamd-Bar: --- --0000000000007bfc05060d552e0f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 25, 2023 at 1:23=E2=80=AFPM Odhiambo Washington wrote: > I am perplexed by a situation here: > > When I run php -r "print_r(get_loaded_extensions());", I get the output > below, which has memcache/memcached modules loaded. > ``` > Array > ( > [0] =3D> Core > [1] =3D> date > [2] =3D> libxml > [3] =3D> openssl > [4] =3D> pcre > [5] =3D> hash > [6] =3D> json > [7] =3D> random > [8] =3D> Reflection > [9] =3D> SPL > [10] =3D> session > [11] =3D> standard > [12] =3D> mysqlnd > [13] =3D> apcu > [14] =3D> bcmath > [15] =3D> bz2 > [16] =3D> calendar > [17] =3D> ctype > [18] =3D> curl > [19] =3D> dom > [20] =3D> mbstring > [21] =3D> FFI > [22] =3D> fileinfo > [23] =3D> filter > [24] =3D> ftp > [25] =3D> gd > [26] =3D> gettext > [27] =3D> gmp > [28] =3D> iconv > [29] =3D> imagick > [30] =3D> intl > [31] =3D> ldap > [32] =3D> exif > [33] =3D> mysqli > [34] =3D> PDO > [35] =3D> pgsql > [36] =3D> zlib > [37] =3D> posix > [38] =3D> pspell > [39] =3D> SimpleXML > [40] =3D> soap > [41] =3D> sockets > [42] =3D> sodium > [43] =3D> sqlite3 > [44] =3D> sysvmsg > [45] =3D> sysvsem > [46] =3D> sysvshm > [47] =3D> tidy > [48] =3D> tokenizer > [49] =3D> xml > [50] =3D> xmlwriter > [51] =3D> zip > [52] =3D> Phar > [53] =3D> imap > [54] =3D> memcache > [55] =3D> memcached > [56] =3D> pdo_mysql > [57] =3D> pdo_pgsql > [58] =3D> pdo_sqlite > [59] =3D> redis > [60] =3D> xmlreader > [61] =3D> xsl > [62] =3D> Zend OPcache > ) > ``` > > However, when I put a file containing in a publicly > accessible directory and access it from a browser, the two modules are NO= T > listed as loaded. > What am I missing? > Seeing as I am using php-fpm, I did run `/usr/local/sbin/php-fpm -i` and for sure it does not list the two modules as loaded. I tried `/usr/local/sbin/php-fpm -c /usr/local/etc/php.ini -i` - which also doesn't give a different output. Now I am more stumped. Any ideas? --=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] --0000000000007bfc05060d552e0f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Dec 25, 2023 at 1:23=E2=80=AF= PM Odhiambo Washington <odhiambo@g= mail.com> wrote:
I am perplexed by a situation here:

=
When I run php -r "print_r(get_loaded_extensions());", I get= the output below, which has memcache/memcached modules loaded.
`= ``
Array
(
=C2=A0 =C2=A0 [0] =3D> Core
=C2=A0 =C2=A0 [1] = =3D> date
=C2=A0 =C2=A0 [2] =3D> libxml
=C2=A0 =C2=A0 [3] =3D&g= t; openssl
=C2=A0 =C2=A0 [4] =3D> pcre
=C2=A0 =C2=A0 [5] =3D> h= ash
=C2=A0 =C2=A0 [6] =3D> json
=C2=A0 =C2=A0 [7] =3D> random=C2=A0 =C2=A0 [8] =3D> Reflection
=C2=A0 =C2=A0 [9] =3D> SPL
= =C2=A0 =C2=A0 [10] =3D> session
=C2=A0 =C2=A0 [11] =3D> standard=C2=A0 =C2=A0 [12] =3D> mysqlnd
=C2=A0 =C2=A0 [13] =3D> apcu
= =C2=A0 =C2=A0 [14] =3D> bcmath
=C2=A0 =C2=A0 [15] =3D> bz2
=C2= =A0 =C2=A0 [16] =3D> calendar
=C2=A0 =C2=A0 [17] =3D> ctype
=C2= =A0 =C2=A0 [18] =3D> curl
=C2=A0 =C2=A0 [19] =3D> dom
=C2=A0 = =C2=A0 [20] =3D> mbstring
=C2=A0 =C2=A0 [21] =3D> FFI
=C2=A0 = =C2=A0 [22] =3D> fileinfo
=C2=A0 =C2=A0 [23] =3D> filter
=C2=A0= =C2=A0 [24] =3D> ftp
=C2=A0 =C2=A0 [25] =3D> gd
=C2=A0 =C2=A0 = [26] =3D> gettext
=C2=A0 =C2=A0 [27] =3D> gmp
=C2=A0 =C2=A0 [28= ] =3D> iconv
=C2=A0 =C2=A0 [29] =3D> imagick
=C2=A0 =C2=A0 [30]= =3D> intl
=C2=A0 =C2=A0 [31] =3D> ldap
=C2=A0 =C2=A0 [32] =3D&= gt; exif
=C2=A0 =C2=A0 [33] =3D> mysqli
=C2=A0 =C2=A0 [34] =3D>= PDO
=C2=A0 =C2=A0 [35] =3D> pgsql
=C2=A0 =C2=A0 [36] =3D> zlib=
=C2=A0 =C2=A0 [37] =3D> posix
=C2=A0 =C2=A0 [38] =3D> pspell=C2=A0 =C2=A0 [39] =3D> SimpleXML
=C2=A0 =C2=A0 [40] =3D> soap=C2=A0 =C2=A0 [41] =3D> sockets
=C2=A0 =C2=A0 [42] =3D> sodium=C2=A0 =C2=A0 [43] =3D> sqlite3
=C2=A0 =C2=A0 [44] =3D> sysvmsg<= br>=C2=A0 =C2=A0 [45] =3D> sysvsem
=C2=A0 =C2=A0 [46] =3D> sysvshm=
=C2=A0 =C2=A0 [47] =3D> tidy
=C2=A0 =C2=A0 [48] =3D> tokenizer=
=C2=A0 =C2=A0 [49] =3D> xml
=C2=A0 =C2=A0 [50] =3D> xmlwriter<= br>=C2=A0 =C2=A0 [51] =3D> zip
=C2=A0 =C2=A0 [52] =3D> Phar
=C2= =A0 =C2=A0 [53] =3D> imap
=C2=A0 =C2=A0 [54] =3D> memcache
=C2= =A0 =C2=A0 [55] =3D> memcached
=C2=A0 =C2=A0 [56] =3D> pdo_mysql=C2=A0 =C2=A0 [57] =3D> pdo_pgsql
=C2=A0 =C2=A0 [58] =3D> pdo_sq= lite
=C2=A0 =C2=A0 [59] =3D> redis
=C2=A0 =C2=A0 [60] =3D> xmlr= eader
=C2=A0 =C2=A0 [61] =3D> xsl
=C2=A0 =C2=A0 [62] =3D> Zend = OPcache
)
```

However, when I put a fi= le containing <?PHP phpinfo(); ?> in a publicly accessible directory = and access it from a browser, the two modules are NOT listed as loaded.
What am I missing?

Seeing as I am using php-fpm, I did run `/usr/local/sbin/php-fpm -i` and f= or sure it does not list the two modules as loaded.
I tried `/usr= /local/sbin/php-fpm -c /usr/local/etc/php.ini -i` - which also doesn't = give a different output.
Now I am more stumped.
Any ideas?

--
Best regards,
Odhiambo WASHINGTON,
= Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."= ,=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]
--0000000000007bfc05060d552e0f-- 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 From nobody Mon Dec 25 15:47:53 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 4SzMkG6dCvz54tct for ; Mon, 25 Dec 2023 15:48:06 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 4SzMkG4WVvz4GPG for ; Mon, 25 Dec 2023 15:48:06 +0000 (UTC) (envelope-from pprocacci@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40d3bf30664so45196695e9.0 for ; Mon, 25 Dec 2023 07:48:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703519283; x=1704124083; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VzDEoxQgAAqFxrDVO96F2YANUAwYbvq21ZPOyrOdqpA=; b=RsyluARR8loif5QiXhKVM7lgackfU2lxR8S0tGXRtCH5Uu5BI/7WhXN8LjMo0wPtvv OQkcYi2bAUhQrildVfl0oK/n72FHP+ZX6JdMz2mnuP4A7BvIkfd190MEaa99t/9KMwl0 xLplYefUmBcVQN/R/60R/bbKsjQn7q/ZoEUSdroHMe0uf9erjt3J7+5VsZQszGdcWx9B qMOxYXGga013pJIam0ImZx3j54JAqyg4W2q6BEgF3rk/0qZ9BW7yTjs54I5nMMtIfvEg UvWeAJ42YBf303mKeWUaSNKyUWyXuR55K6bLOJetoKph8W2/nCz0gWzW941LPDdle5OS rHvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703519283; x=1704124083; 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=VzDEoxQgAAqFxrDVO96F2YANUAwYbvq21ZPOyrOdqpA=; b=HlOyqtZiAcuYy3cdZc3y5ATYfURqxcxBpY2NMtPZ00pznYEfrbJ+6mQhz0TWgyOP24 gkzcC8HvpPe8u5HS/fXU4Y2KVv6gnTTepKXfCHFCyAr3Q26ClmXCYMEVeqlrwaqnZ5pe lN/vymxiho90jWs0gMQDm/bzl4pn83FAkGjr8XKDId+IQ73bsqH31oujcaFG3tUchIJj f1udkNafn+ZBqeJhnNJmi2BFabeJ63Rimkev3/sgtDexboVgFQqwlXdAAE7g+fMp8ghM 45ivX7C3fy+hANUrOReuSmGsbmcGmzrEQEAS6+IHhgFmjfsk4XNJB26v2oRNF7WRrb7i hDrw== X-Gm-Message-State: AOJu0Yz7DkhnDgUGF2IyDLP9YbW05jbs0je1EAjGsBMsK1E5XOP6Vow3 yuyC8PncDUGlqQEKZoTLgsikvTmeYm+WcOH94ihoJF5dSw== X-Google-Smtp-Source: AGHT+IE0OFl1POmIyD1lEPZZLagEPWzKkfKz2SHboBZ2AbD7qghKK64wZFd/cE0HQcRZRahfbmEvKbYsBx+ciP77R8M= X-Received: by 2002:a05:600c:3b27:b0:40d:3786:dad1 with SMTP id m39-20020a05600c3b2700b0040d3786dad1mr3126018wms.19.1703519283318; Mon, 25 Dec 2023 07:48:03 -0800 (PST) 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: Paul Procacci Date: Mon, 25 Dec 2023 10:47:53 -0500 Message-ID: Subject: Re: Re: PHP Issue - for the sysadmins To: "lain." Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000c014e0060d577d5e" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SzMkG4WVvz4GPG --000000000000c014e0060d577d5e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 25, 2023 at 10:34=E2=80=AFAM lain. wrote: > 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? > > > > > > > Just to add. This is FreeBSD and there is only one php.ini file - > > /usr/local/etc/php.ini > > > > 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? > > -- > 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 > encrypted 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 > client, 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 > > To further this ... lain is 100% on the right track. To show the path to the ini via the command line: php -i To show the path to the ini via web: I'm betting they're different as already has been stated. I too don't use php anymore, now I just stick with perl. ;) ~Paul --=20 __________________ :(){ :|:& };: --000000000000c014e0060d577d5e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Dec 25, 2023 at 10:= 34=E2=80=AFAM lain. <lain@fair.moe> wrote:
On 2023=E5=B9=B412=E6=9C=8825=E6=97=A5 15:= 24, the silly Odhiambo Washington claimed to have said:
> On Mon, Dec 25, 2023 at 3:12=E2=80=AFPM Odhiambo Washington <odhiambo@gmail.com>= ;
> 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?
> >
>
> Just to add. This is FreeBSD and there is only one php.ini file -
> /usr/local/etc/php.ini
>

Of course I know you're using FreeBSD, considering you're asking th= is 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<= br> 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?

--
lain.

Did you know that?
90% of all emails sent on a daily basis are being sent in plain text, and i= t's super easy to intercept emails as they flow over the internet?
Never send passwords, tokens, personal information, or other volunerable in= formation without proper PGP encryption!

If you're writing your emails unencrypted, please consider sending PGP = encrypted 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 cl= ient, 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


To further this ...=C2=A0=20 lain is 100% on the right track.

To show the path t= o the ini via the command line:

php -i
To show the path to the ini via web:

<?php phpinfo(); ?>

I'm betting they're = different as already has been stated.

I too don= 9;t use php anymore, now I just stick with perl.=C2=A0 ;)

~Paul
-- =
__________________

:(= ){ :|:& };:
--000000000000c014e0060d577d5e-- From nobody Tue Dec 26 09:09:18 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 4SzprR4nD0z54QrZ for ; Tue, 26 Dec 2023 09:09:59 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (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 4SzprQ6qMyz3LYJ for ; Tue, 26 Dec 2023 09:09:58 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2ccb4adbffbso20112271fa.0 for ; Tue, 26 Dec 2023 01:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703581795; x=1704186595; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SOh1jzLFCtirohaIELRVYREhQVEEyCGUb1PbULbA5wo=; b=NuwU+pl+dcGZr0p9w7S0TVez8Lh4krxtFmoSZTaZAdGmT0vaLbgCxq2fSJ7+POwIGv XYID/tFQblASCyLLfy/23EouHvviH1I692XxUH7QmvYH9VqLFY5//+qM2VUN4RANAG56 oAho0wr6CI47UBGVBsGRPzyATmm8UlwpOfMPJJIwFRtR0HdyKMaJ0EIqpJY5aBYnxdGy e+q5MxmvjZjkdCKmBiVEtaLxtoLT9va3gvLfQ+yId5I5FZGJIiufnoBqqM5fl0IZxp5I 7CFpm4CW2eQWYkGWg0K54gcAtmVbSNruKHAvZz1qOjzvhPJZE4s6BHrKo+JlVHrnMuVV jiRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703581795; x=1704186595; 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=SOh1jzLFCtirohaIELRVYREhQVEEyCGUb1PbULbA5wo=; b=Ahko0WU7wrvwf3focKUtpgji32kDiHefUzzrqZI6Dq6RFw2dijnkchAuEYZJdWE0Un hR0gKjE/jX4hiXMcHcXvt5/M3sz1uanP7tXc2c72SxtUxJ60TJ34whgH4dlwEADrIZ7O V65U1nDZv9fZI3jtLFboIUx2gCiLlUXANx2M1GpN1nl0/dNDg8CSLFfE9Y666dpyAsjY cF89wLxm3IZWAL0otreG5y50TdmkBqOhGpgkEAetc/j/9SNKWbEEAv4YgPZ9lNNiGKrQ TZ9+lyNTDVFhg6/gx/zvl606krDPjKXyvx777rAG7XIKkTAjkRyavyPTsD8YHF3h4rYC Nafw== X-Gm-Message-State: AOJu0YybnFqzQdQt+PJKm1/AxqXiyvgTSqc14Pg4yP87GcB8nB9JVs4p gvRwiZw8KgtJMHsXgrFeX60wFvQMgac4i1GK0A8= X-Google-Smtp-Source: AGHT+IHaSYjvaEOaFN33FaESLQyZq3+K4QAtWoE5ebzk4RjE83Ex8EFm+ZWH/6QmYUYLFIa39PgzO3AkvFvqv9VxiE0= X-Received: by 2002:a05:651c:32c:b0:2cc:938b:af6 with SMTP id b12-20020a05651c032c00b002cc938b0af6mr2483220ljp.92.1703581794877; Tue, 26 Dec 2023 01:09:54 -0800 (PST) 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: Tue, 26 Dec 2023 12:09:18 +0300 Message-ID: Subject: Re: Re: PHP Issue - for the sysadmins To: Paul Procacci Cc: "lain." , questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000bac65b060d660bb5" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SzprQ6qMyz3LYJ --000000000000bac65b060d660bb5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 25, 2023 at 6:48=E2=80=AFPM Paul Procacci = wrote: > > > On Mon, Dec 25, 2023 at 10:34=E2=80=AFAM lain. wrote: > >> On 2023=E5=B9=B412=E6=9C=8825=E6=97=A5 15:24, the silly Odhiambo Washing= ton 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? >> > > >> > >> > Just to add. This is FreeBSD and there is only one php.ini file - >> > /usr/local/etc/php.ini >> > >> >> 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? >> >> -- >> lain. >> >> Did you know that? >> 90% of all emails sent on a daily basis are being sent in plain text, an= d >> 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 >> encrypted 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 >> client, 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 >> >> > To further this ... lain is 100% on the right track. > > To show the path to the ini via the command line: > > php -i > > To show the path to the ini via web: > > > > I'm betting they're different as already has been stated. > > I too don't use php anymore, now I just stick with perl. ;) > [12:01 ~ ]$ php -i phpinfo() PHP Version =3D> 8.2.14 [snip] Server API =3D> Command Line Interface Virtual Directory Support =3D> enabled Configuration File (php.ini) Path =3D> /usr/local/etc *Loaded Configuration File =3D> /usr/local/etc/php.iniScan this dir for additional .ini files =3D> /usr/local/etc/php* Additional .ini files parsed =3D> /usr/local/etc/php/ext-10-opcache.ini, /usr/local/etc/php/ext-18-session.ini, /usr/local/etc/php/ext-20-apcu.ini, /usr/local/etc/php/ext-20-bcmath.ini, /usr/local/etc/php/ext-20-bz2.ini, /usr/local/etc/php/ext-20-calendar.ini, /usr/local/etc/php/ext-20-ctype.ini, /usr/local/etc/php/ext-20-curl.ini, /usr/local/etc/php/ext-20-dom.ini, /usr/local/etc/php/ext-20-exif.ini, /usr/local/etc/php/ext-20-ffi.ini, /usr/local/etc/php/ext-20-fileinfo.ini, /usr/local/etc/php/ext-20-filter.ini, /usr/local/etc/php/ext-20-ftp.ini, /usr/local/etc/php/ext-20-gd.ini, /usr/local/etc/php/ext-20-gettext.ini, /usr/local/etc/php/ext-20-gmp.ini, /usr/local/etc/php/ext-20-iconv.ini, /usr/local/etc/php/ext-20-imagick.ini, /usr/local/etc/php/ext-20-intl.ini, /usr/local/etc/php/ext-20-ldap.ini, /usr/local/etc/php/ext-20-mbstring.ini, /usr/local/etc/php/ext-20-mysqli.ini, /usr/local/etc/php/ext-20-pdo.ini, /usr/local/etc/php/ext-20-pgsql.ini, /usr/local/etc/php/ext-20-phar.ini, /usr/local/etc/php/ext-20-posix.ini, /usr/local/etc/php/ext-20-pspell.ini, /usr/local/etc/php/ext-20-simplexml.ini, /usr/local/etc/php/ext-20-soap.ini, /usr/local/etc/php/ext-20-sockets.ini, /usr/local/etc/php/ext-20-sodium.ini, /usr/local/etc/php/ext-20-sqlite3.ini, /usr/local/etc/php/ext-20-sysvmsg.ini, /usr/local/etc/php/ext-20-sysvsem.ini, /usr/local/etc/php/ext-20-sysvshm.ini, /usr/local/etc/php/ext-20-tidy.ini, /usr/local/etc/php/ext-20-tokenizer.ini, /usr/local/etc/php/ext-20-xml.ini, /usr/local/etc/php/ext-20-xmlwriter.ini, /usr/local/etc/php/ext-20-zip.ini, /usr/local/etc/php/ext-20-zlib.ini, /usr/local/etc/php/ext-30-imap.ini, /usr/local/etc/php/ext-30-memcache.ini, /usr/local/etc/php/ext-30-memcached.ini, /usr/local/etc/php/ext-30-pdo_mysql.ini, /usr/local/etc/php/ext-30-pdo_pgsql.ini, /usr/local/etc/php/ext-30-pdo_sqlite.ini, /usr/local/etc/php/ext-30-redis.ini, /usr/local/etc/php/ext-30-xmlreader.ini, /usr/local/etc/php/ext-30-xsl.ini So it's using the same config as shown with via the web. --=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] --000000000000bac65b060d660bb5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Dec 25, 2023 at 6:48=E2=80=AF= PM Paul Procacci <pprocacci@gmail= .com> wrote:


On Mon, Dec 25, 2023 at= 10:34=E2=80=AFAM lain. <lain@fair.moe> wrote:
On 2023=E5=B9=B412=E6=9C=8825=E6=97=A5= 15:24, the silly Odhiambo Washington claimed to have said:
> On Mon, Dec 25, 2023 at 3:12=E2=80=AFPM Odhiambo Washington <odhiambo@gmail.com>= ;
> 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?
> >
>
> Just to add. This is FreeBSD and there is only one php.ini file -
> /usr/local/etc/php.ini
>

Of course I know you're using FreeBSD, considering you're asking th= is 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<= br> 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?

--
lain.

Did you know that?
90% of all emails sent on a daily basis are being sent in plain text, and i= t's super easy to intercept emails as they flow over the internet?
Never send passwords, tokens, personal information, or other volunerable in= formation without proper PGP encryption!

If you're writing your emails unencrypted, please consider sending PGP = encrypted 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 cl= ient, 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


To further this ...=C2=A0=20 lain is 100% on the right track.

To show the path t= o the ini via the command line:

php -i
To show the path to the ini via web:

<?php phpinfo(); ?>

I'm betting they're = different as already has been stated.

I too don= 9;t use php anymore, now I just stick with perl.=C2=A0 ;)


[12:01 ~ ]$ php -i
phpinfo()
PHP Version = =3D> 8.2.14

[snip]
Server API =3D> Command Line InterfaceVirtual Directory Support =3D> enabled
Configuration File (php.ini)= Path =3D> /usr/local/etc
Loaded Configuration File =3D> /usr/l= ocal/etc/php.ini
Scan this dir for additional .ini files =3D> /usr/lo= cal/etc/php

Additional .ini files parsed =3D> /usr/local/etc/php/= ext-10-opcache.ini,
/usr/local/etc/php/ext-18-session.ini,
/usr/local= /etc/php/ext-20-apcu.ini,
/usr/local/etc/php/ext-20-bcmath.ini,
/usr/= local/etc/php/ext-20-bz2.ini,
/usr/local/etc/php/ext-20-calendar.ini,/usr/local/etc/php/ext-20-ctype.ini,
/usr/local/etc/php/ext-20-curl.ini= ,
/usr/local/etc/php/ext-20-dom.ini,
/usr/local/etc/php/ext-20-exif.i= ni,
/usr/local/etc/php/ext-20-ffi.ini,
/usr/local/etc/php/ext-20-file= info.ini,
/usr/local/etc/php/ext-20-filter.ini,
/usr/local/etc/php/ex= t-20-ftp.ini,
/usr/local/etc/php/ext-20-gd.ini,
/usr/local/etc/php/ex= t-20-gettext.ini,
/usr/local/etc/php/ext-20-gmp.ini,
/usr/local/etc/p= hp/ext-20-iconv.ini,
/usr/local/etc/php/ext-20-imagick.ini,
/usr/loca= l/etc/php/ext-20-intl.ini,
/usr/local/etc/php/ext-20-ldap.ini,
/usr/l= ocal/etc/php/ext-20-mbstring.ini,
/usr/local/etc/php/ext-20-mysqli.ini,<= br>/usr/local/etc/php/ext-20-pdo.ini,
/usr/local/etc/php/ext-20-pgsql.in= i,
/usr/local/etc/php/ext-20-phar.ini,
/usr/local/etc/php/ext-20-posi= x.ini,
/usr/local/etc/php/ext-20-pspell.ini,
/usr/local/etc/php/ext-2= 0-simplexml.ini,
/usr/local/etc/php/ext-20-soap.ini,
/usr/local/etc/p= hp/ext-20-sockets.ini,
/usr/local/etc/php/ext-20-sodium.ini,
/usr/loc= al/etc/php/ext-20-sqlite3.ini,
/usr/local/etc/php/ext-20-sysvmsg.ini,/usr/local/etc/php/ext-20-sysvsem.ini,
/usr/local/etc/php/ext-20-sysvsh= m.ini,
/usr/local/etc/php/ext-20-tidy.ini,
/usr/local/etc/php/ext-20-= tokenizer.ini,
/usr/local/etc/php/ext-20-xml.ini,
/usr/local/etc/php/= ext-20-xmlwriter.ini,
/usr/local/etc/php/ext-20-zip.ini,
/usr/local/e= tc/php/ext-20-zlib.ini,
/usr/local/etc/php/ext-30-imap.ini,
/usr/loca= l/etc/php/ext-30-memcache.ini,
/usr/local/etc/php/ext-30-memcached.ini,<= br>/usr/local/etc/php/ext-30-pdo_mysql.ini,
/usr/local/etc/php/ext-30-pd= o_pgsql.ini,
/usr/local/etc/php/ext-30-pdo_sqlite.ini,
/usr/local/etc= /php/ext-30-redis.ini,
/usr/local/etc/php/ext-30-xmlreader.ini,
/usr/= local/etc/php/ext-30-xsl.ini
=C2=A0
=C2=A0So it's usi= ng the same config as shown with <?php phpinfo(); ?> via the web.


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,= KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.",=C2=A0<= /span>egrep -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]
--000000000000bac65b060d660bb5-- From nobody Wed Dec 27 13:56:56 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 4T0Y660S0pz55gTb for ; Wed, 27 Dec 2023 13:54:22 +0000 (UTC) (envelope-from josc@cloudzeeland.nl) Received: from filter4.spamservice.nl (filter4.spamservice.nl [IPv6:2001:1460:3:4:1c00:9bff:fe00:265e]) (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 4T0Y651vRNz4fB9 for ; Wed, 27 Dec 2023 13:54:21 +0000 (UTC) (envelope-from josc@cloudzeeland.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=2is.nl header.s=192-174-1620656322 header.b=Wg2NIk7N; spf=pass (mx1.freebsd.org: domain of josc@cloudzeeland.nl designates 2001:1460:3:4:1c00:9bff:fe00:265e as permitted sender) smtp.mailfrom=josc@cloudzeeland.nl; dmarc=pass (policy=none) header.from=cloudzeeland.nl DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=2is.nl; s=192-174-1620656322; h=Subject:From:To:MIME-Version:Date:Message-ID: Content-Type:reply-to:sender:cc:bcc:in-reply-to:references: content-transfer-encoding; bh=e6dQfJmGzEmYQMkfjwflzuyOXO4jbDzxEbvakWHyYwk=; b=Wg2NIk7Ng1h6w9or5YGSBTDoSUbk+MLcPhXCe1blEc2cEtFIXUzrlJAp+uIoh2iLXEGNlBHWmT ACPHrnSuKOPABlXyvdHhpLhd06615E9l1/OF59TYSwBv5SG3OVH7IwD8Twyfd5yanjnVkcefNEH/I Wu2pbzbMtLmCQahiCgUyLzx43UyvqWjMMvF40qDH5qtxtTqBDLyYR7SDADpTeGa7mB3757f8u6LdM xZOfcNpfknGLeVCByTPikuoLdG3giMIRVi5HaOnHDWjJuMUHkgwlLL03JfQNMz8oKwd73jQSoq3Pz tfJO+n3wyQAL+tmW+W54tw3ltCCL7LYiTp01Q==; Received: from v38098.2is.nl ([62.221.192.174]) by filter4.spamservice.nl with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rIUMO-00DKjA-Ho for freebsd-questions@freebsd.org; Wed, 27 Dec 2023 14:54:13 +0100 Received: from [10.10.10.40] (terra.devrijegeest.nl [82.176.127.71]) by v38098.2is.nl (Postfix) with ESMTPSA id 0E61B5AB76 for ; Wed, 27 Dec 2023 14:54:12 +0100 (CET) Content-Type: multipart/alternative; boundary="------------463sergVXKdODBcsJNE1e885" Message-ID: <6583930e-3bc5-42b6-b2f0-2aa1372b1a33@cloudzeeland.nl> Date: Wed, 27 Dec 2023 14:56:56 +0100 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 User-Agent: Mozilla Thunderbird Content-Language: en-US To: FreeBSD Mailing List From: Jos Chrispijn Subject: Synology NAS X-PPP-Message-ID: <170368525231.26153.1550226234476041723@v38098.2is.nl> X-PPP-Vhost: cloudzeeland.nl X-Originating-IP: 62.221.192.174 X-SpamExperts-Domain: 2is.nl X-SpamExperts-Username: 62.221.192.174 X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.14) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9KoXDIQmmeKhEmpMreBxzvPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5zBwzYOyw3TMVcHXgRum+xE5RmX5Wddz27geQcwtt3ZFCo/ xMM0hxORRmMMI7DUTwj5xfxDk7bp1HURs4MGfD2z5g+sHZmT3CLVmxntdIVybVbCLlo7Sf9Yt4B6 10NB0tfiRcBfFvQv8oJwpDFinSDDMA6xdMQIKabf2Kvs4ECO/KzNXrHVoX7y9Zma809lQaiDwIE7 VKe+bqpcdCns72R1w3W03UrjtSa59AWfvdVXfiRX00U5fq9q0hmel5QbIVdNxaypTbp28NxghjNo pU/Oaqj4KISIRSJ5MfjE8OaunZEyYYf7TmlI3iEcqXK4A61ChHMQHCMEWTX9HEhwSP4/MSl+mev0 M9cO0xP2892D0coxSJGFGOf6ZsEev53H7pV7R1BHCpShOyPsjo2U+YNGUHn+gnmsNLchHhymY5JU 63hy/sIYQHSrltYx0aSLXrYdUhxXhQRQtfrQcEO/KeOp+FFrODH+WnMq5okJnHOY/QhZulyjONR/ o4kVNDzxc/izbndz4MyhmfPIqHaHav2H1VjJR6Foe2Ce9GAZPDecseidX4Ts4xdG+C13IyWeZaLW UjH/F6no/TxU4lZuzdjAgneYl2CbmQ1c/RYOiDQqnvApsztFJ8oWMeXZzYQx5KrPzhJQpg6vShRQ eNoRMtB/9csNn/xaXoJTnIU0cdBhWqdM2kmVq603aW6BgyLXzkXGlu2MO8Dz7dyTwUrefxm8ZB/+ YB31LKjh2ixrMjbrx/G+U7KWXu3fJ4QmaleeLIFV8Gg4K5LiSFg18OH8UDyqPAlbDjazCbhs7qBp ykynMqtSGP1zIAlUt/iUF++jwLHcTNTZTn5qT5PB2rpJ7u7Uz/V82I+AFzKiBZTOosCJpfUrVUYA LPrUft9gXHuDK7/3dXwmeUTPq63btlCFySPphM6no0iOK1sNkeZzta2rW1TYM9PfL1ek2Esa7b+p r/pTyFzt1T2qaSm/0D+LI9aF9jihx+Za/cV70jOJzN2r4A== X-Report-Abuse-To: spam@filter6.spamservice.nl X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[cloudzeeland.nl,none]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[2is.nl:s=192-174-1620656322]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:48635, ipnet:2001:1460::/32, country:NL]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[2is.nl:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_XOIP(0.00)[]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4T0Y651vRNz4fB9 X-Spamd-Bar: --- This is a multi-part message in MIME format. --------------463sergVXKdODBcsJNE1e885 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Is there anyone who managed to install any BSD version but DSM on a Synology NAS? Thanks, Jos --------------463sergVXKdODBcsJNE1e885 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Is there anyone who managed to install any BSD version but DSM on a Synology NAS?
Thanks,
Jos
--------------463sergVXKdODBcsJNE1e885-- From nobody Wed Dec 27 21:16:04 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 4T0kw419H0z54MD0 for ; Wed, 27 Dec 2023 21:16:20 +0000 (UTC) (envelope-from jcb2023az@gmail.com) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (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 4T0kw26jwCz4bGJ for ; Wed, 27 Dec 2023 21:16:18 +0000 (UTC) (envelope-from jcb2023az@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=He5bl0Q5; spf=pass (mx1.freebsd.org: domain of jcb2023az@gmail.com designates 2a00:1450:4864:20::12c as permitted sender) smtp.mailfrom=jcb2023az@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50e7af5f618so2493112e87.1 for ; Wed, 27 Dec 2023 13:16:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703711775; x=1704316575; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ZsqdYvlHzgNk3tuu5As60Pi3AScBt7pdykoygr6K1Yc=; b=He5bl0Q5qX/Z3I0gTUn7gWRqplyATln2+tC0g9onmVmXlm3YNtjrE/Joja7qkL+oWe 5kYbLUwpmy2vwvOKplSyXN/94JGr1IWBzJ7ibrC7eQfSf/c1nwXaXKsZIIVrT5oRFAki iDmKIJU/ucOc4XYJ69QHIlk4UbPdRu8R/9wQT6a0+U0zEx+LjFxBCEB5Gf2ZLHwwP5sr yeRJKXcPfmGW+iUByBIKR2Wc57YJqtDDwGm8PeZ0zQI8cucWc51oRsxctnR0V+GPkQr1 so3zY7/wojk6pv/NXqOyl/svNqIpf5Fu9Lv+htlBNhnhnXCDy0xIQx0CSKOtfOIVHSYv PbRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703711775; x=1704316575; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ZsqdYvlHzgNk3tuu5As60Pi3AScBt7pdykoygr6K1Yc=; b=ZJ0TtgVmwsNdDUt4yCyCrrYsbUoAPmJQJ9hyGKGu+WS6O3Wi6YZZ11f+GAwtphd81J B7pUjzX56lFJIaFYUMkTyoV4OpWHhUZex6BAVmt3q+TWexnG3GZv9JitQKRCO9/P2vCd rI3Me7UfcOqNL2wKETlgBVieKT20fVpuhZUtSWEPZAoCsI7qRo36G9PhWL08Yy4OR4OR yR20XsPBx3UGAcYSiud8pxm7sJ/pzTpdxnHj13YnBuLr8f92ZZSIBXi/tCSA8qJFSnOb cm3DscwbBbzljaKFehWrtvlVkRb1m3B1mSvHOciHQkYdQMriUuy8QncMFNsWLTC9yD84 QeDA== X-Gm-Message-State: AOJu0YzLJvqYLgoRmly34DT800lKHSyWc3j1tPOfFCcurwlGiunHdqh9 OyhDzAYtvZJqn0KoaC1TuXFRM9dkjKST/IbPjRV30XD4IHcLUA== X-Google-Smtp-Source: AGHT+IHPn4UDwvpBHH3TBlDfxPRAYTrErg9O4G2nfHAT0Qrc2sgjaYFfMzd0qjN+Bj0hjcey42kT8P58tIdVjBaLqdM= X-Received: by 2002:a05:6512:2346:b0:50e:7dd2:4104 with SMTP id p6-20020a056512234600b0050e7dd24104mr2313650lfu.56.1703711775263; Wed, 27 Dec 2023 13:16:15 -0800 (PST) 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: Joe B Date: Wed, 27 Dec 2023 13:16:04 -0800 Message-ID: Subject: Getting Sound to work To: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000002a0f80060d844f78" X-Spamd-Result: default: False [-3.95 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.98)[-0.983]; NEURAL_HAM_SHORT(-0.97)[-0.968]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12c:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4T0kw26jwCz4bGJ X-Spamd-Bar: --- --0000000000002a0f80060d844f78 Content-Type: text/plain; charset="UTF-8" Hello, I know this is impossible but this list is my last resort. IF it doesn't work i have another laptop that works out of the box but i really like this laptop (Chromebook Hp x360 14c) Everything works except sound that does work when connected to HDMI. Here is what I have to work with. Sndstat cat /dev/sndstat Installed devices: pcm0: (play) default Verbose Boot hdac0: mem 0x9f914000-0x9f917fff,0x9f800000-0x9f8fffff at device 31.3 on pci0 hdacc0: at cad 2 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 hdac0: mem 0x9f914000-0x9f917fff,0x9f800000-0x9f8fffff at device 31.3 on pci0 hdac0: PCI card vendor: 0x8086, device: 0x7270 hdac0: HDA Driver Revision: 20120126_0002 hdac0: Config options: on=0x00000000 off=0x00000000 hdac0: Caps: OSS 9, ISS 7, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256 hdac0: attempting to allocate 1 MSI vectors (1 supported) hdac0: using IRQ 130 for MSI hdacc0: at cad 2 on hdac0 hdaa0: at nid 1 on hdacc0 hdaa0: Subsystem ID: 0x80860101 hdaa0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0 hdaa0: Original pins configuration: hdaa0: nid 0x as seq device conn jack loc color misc hdaa0: 3 18560010 1 0 Digital-out Jack Digital 0x18 Unknown 0 hdaa0: Patched pins configuration: hdaa0: nid 0x as seq device conn jack loc color misc hdaa0: 3 18560010 1 0 Digital-out Jack Digital 0x18 Unknown 0 hdaa0: 1 associations found: hdaa0: Association 0 (1) out: hdaa0: Pin nid=3 seq=0 hdaa0: Tracing association 0 (1) hdaa0: Pin 3 traced to DAC 2 hdaa0: Association 0 (1) trace succeeded hdaa0: Looking for additional DAC for association 0 (1) hdaa0: Tracing input monitor hdaa0: Tracing other input monitors hdaa0: Tracing beeper hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref pcm0: at nid 3 on hdaa0 sysctl -a |grep hda hdac0: mem 0x9f914000-0x9f917fff,0x9f800000-0x9f8fffff at device 31.3 on pci0 hdacc0: at cad 2 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 device snd_hda irq130: hdac0:263 @cpu0(domain0): 7 dev.pcm.0.%parent: hdaa0 dev.hdaa.0.init_clear: 0 dev.hdaa.0.reconfig: 0 dev.hdaa.0.gpo_config: dev.hdaa.0.gpo_state: dev.hdaa.0.gpio_config: dev.hdaa.0.gpio_state: dev.hdaa.0.gpi_state: dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref dev.hdaa.0.nid3_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.0.nid3_config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.0.nid3: pin: Digital-out (Jack) dev.hdaa.0.nid2: audio output dev.hdaa.0.%parent: hdacc0 dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x80860101 dev.hdaa.0.%location: nid=1 dev.hdaa.0.%driver: hdaa dev.hdaa.0.%desc: Intel Kaby Lake Audio Function Group dev.hdaa.%parent: dev.hdacc.0.%parent: hdac0 dev.hdacc.0.%pnpinfo: vendor=0x8086 device=0x280b revision=0x00 stepping=0x00 dev.hdacc.0.%location: cad=2 dev.hdacc.0.%driver: hdacc dev.hdacc.0.%desc: Intel Kaby Lake HDA CODEC dev.hdacc.%parent: dev.hdac.0.polling: 0 dev.hdac.0.pindump: 0 dev.hdac.0.%parent: pci0 dev.hdac.0.%pnpinfo: vendor=0x8086 device=0x02c8 subvendor=0x8086 subdevice=0x7270 class=0x040100 dev.hdac.0.%location: slot=31 function=3 dbsf=pci0:0:31:3 handle=\_SB_.PCI0.HDAS dev.hdac.0.%driver: hdac dev.hdac.0.%desc: Intel Comet Lake-LP HDA Controller dev.hdac.%parent: Here is a thread with the exact same issue that didn't get resolved https://forums.freebsd.org/threads/no-sound-with-sound-card-intel-comet-lake-pch-lp-cavs.87085/ Like I said it's probably impossible but I'm ready for that. I was advised here that since there are no other nids or pcm's that they can't do anything https://forums.freebsd.org/threads/trying-to-get-headphones-working-on-a-laptop.91214/#post-630964 Thanks for looking at it ~ Joe B --0000000000002a0f80060d844f78 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I know this is impossible but this list is m= y last resort. IF it doesn't
work i have another laptop that works o= ut of the box but i really like this
laptop (Chromebook Hp x360 14c)
=
Everything works except sound that does work when connected to HDMI. He= re
is what I have to work with.

Sndstat

cat /dev/sndstatInstalled devices:
pcm0: <Intel Kaby Lake (HDMI/DP 8ch)> (play) = default

Verbose Boot

hdac0: <Intel Comet Lake-LP HDA Contr= oller> mem
0x9f914000-0x9f917fff,0x9f800000-0x9f8fffff at device 31.3= on pci0
hdacc0: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
= hdaa0: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc0
p= cm0: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa0
hdac0: <= Intel Comet Lake-LP HDA Controller> mem
0x9f914000-0x9f917fff,0x9f800= 000-0x9f8fffff at device 31.3 on pci0
hdac0: PCI card vendor: 0x8086, de= vice: 0x7270
hdac0: HDA Driver Revision: 20120126_0002
hdac0: Config = options: on=3D0x00000000 off=3D0x00000000
hdac0: Caps: OSS 9, ISS 7, BSS= 0, NSDO 1, 64bit, CORB 256, RIRB 256
hdac0: attempting to allocate 1 MS= I vectors (1 supported)
hdac0: using IRQ 130 for MSI
hdacc0: <Inte= l Kaby Lake HDA CODEC> at cad 2 on hdac0
hdaa0: <Intel Kaby Lake A= udio Function Group> at nid 1 on hdacc0
hdaa0: Subsystem ID: 0x808601= 01
hdaa0: NumGPIO=3D0 NumGPO=3D0 NumGPI=3D0 GPIWake=3D0 GPIUnsol=3D0
= hdaa0: Original pins configuration:
hdaa0: nid =C2=A0 0x =C2=A0 =C2=A0as= seq device =C2=A0 =C2=A0 =C2=A0 conn =C2=A0jack =C2=A0 =C2=A0loc =C2=A0 = =C2=A0 =C2=A0 =C2=A0color =C2=A0 misc
hdaa0: =C2=A03 18560010 1 =C2=A00 = =C2=A0Digital-out =C2=A0 Jack =C2=A0Digital 0x18 =C2=A0 =C2=A0 =C2=A0 Unkno= wn 0
hdaa0: Patched pins configuration:
hdaa0: nid =C2=A0 0x =C2=A0 = =C2=A0as seq device =C2=A0 =C2=A0 =C2=A0 conn =C2=A0jack =C2=A0 =C2=A0loc = =C2=A0 =C2=A0 =C2=A0 =C2=A0color =C2=A0 misc
hdaa0: =C2=A03 18560010 1 = =C2=A00 =C2=A0Digital-out =C2=A0 Jack =C2=A0Digital 0x18 =C2=A0 =C2=A0 =C2= =A0 Unknown 0
hdaa0: 1 associations found:
hdaa0: Association 0 (1) o= ut:
hdaa0: =C2=A0Pin nid=3D3 seq=3D0
hdaa0: Tracing association 0 (1)=
hdaa0: =C2=A0Pin 3 traced to DAC 2
hdaa0: Association 0 (1) trace su= cceeded
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0= : Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0: Tr= acing beeper
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref1= 00 ivref
pcm0: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa0
sysctl -a |grep hda

hdac0: <Intel Comet Lake-LP HDA Control= ler> mem
0x9f914000-0x9f917fff,0x9f800000-0x9f8fffff at device 31.3 o= n pci0
hdacc0: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0
hd= aa0: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc0
pcm= 0: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa0
device snd_hd= a
irq130: hdac0:263 @cpu0(domain0): 7
dev.pcm.0.%parent: hdaa0
dev= .hdaa.0.init_clear: 0
dev.hdaa.0.reconfig: 0
dev.hdaa.0.gpo_config:dev.hdaa.0.gpo_state:
dev.hdaa.0.gpio_config:
dev.hdaa.0.gpio_state= :
dev.hdaa.0.gpi_state:
dev.hdaa.0.config: forcestereo,ivref50,ivref8= 0,ivref100,ivref,vref
dev.hdaa.0.nid3_original: 0x18560010 as=3D1 seq=3D= 0 device=3DDigital-out
conn=3DJack ctype=3DDigital loc=3D0x18 color=3DUn= known misc=3D0
dev.hdaa.0.nid3_config: 0x18560010 as=3D1 seq=3D0 device= =3DDigital-out
conn=3DJack ctype=3DDigital loc=3D0x18 color=3DUnknown mi= sc=3D0
dev.hdaa.0.nid3: pin: Digital-out (Jack)
dev.hdaa.0.nid2: audi= o output
dev.hdaa.0.%parent: hdacc0
dev.hdaa.0.%pnpinfo: type=3D0x01 = subsystem=3D0x80860101
dev.hdaa.0.%location: nid=3D1
dev.hdaa.0.%driv= er: hdaa
dev.hdaa.0.%desc: Intel Kaby Lake Audio Function Group
dev.h= daa.%parent:
dev.hdacc.0.%parent: hdac0
dev.hdacc.0.%pnpinfo: vendor= =3D0x8086 device=3D0x280b revision=3D0x00 stepping=3D0x00
dev.hdacc.0.%l= ocation: cad=3D2
dev.hdacc.0.%driver: hdacc
dev.hdacc.0.%desc: Intel = Kaby Lake HDA CODEC
dev.hdacc.%parent:
dev.hdac.0.polling: 0
dev.h= dac.0.pindump: 0
dev.hdac.0.%parent: pci0
dev.hdac.0.%pnpinfo: vendor= =3D0x8086 device=3D0x02c8 subvendor=3D0x8086
subdevice=3D0x7270 class=3D= 0x040100
dev.hdac.0.%location: slot=3D31 function=3D3 dbsf=3Dpci0:0:31:3= handle=3D\_SB_.PCI0.HDAS
dev.hdac.0.%driver: hdac
dev.hdac.0.%desc: = Intel Comet Lake-LP HDA Controller
dev.hdac.%parent:

Here is a th= read with the exact same issue that didn't get resolved

https://forums.freebsd.org/threads/no-sound-with-= sound-card-intel-comet-lake-pch-lp-cavs.87085/

Like I said it= 9;s probably impossible but I'm ready for that. I was
advised here t= hat since there are no other nids or pcm's that they
can't do an= ything

https://forums.freebsd.or= g/threads/trying-to-get-headphones-working-on-a-laptop.91214/#post-630964

Thanks for looking at it

~ Joe B
--0000000000002a0f80060d844f78-- From nobody Thu Dec 28 01:01:18 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 4T0qvz5wnMz54mFg for ; Thu, 28 Dec 2023 01:01:35 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4T0qvz0tBlz3Jgk for ; Thu, 28 Dec 2023 01:01:34 +0000 (UTC) (envelope-from bc979@lafn.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of bc979@lafn.org designates 47.181.130.121 as permitted sender) smtp.mailfrom=bc979@lafn.org; dmarc=none Received: from smtpclient.apple (unknown [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4T0qvr47Pmz2fjxT for ; Wed, 27 Dec 2023 17:01:28 -0800 (PST) From: Doug Hardie Content-Type: multipart/alternative; boundary="Apple-Mail=_583B3888-52DD-41A0-B87A-71B8A046B1C6" 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 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: cvs question Message-Id: <18F215F5-82A4-40E5-85E9-F753CEB04B56@sermon-archive.info> Date: Wed, 27 Dec 2023 17:01:18 -0800 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3731.700.6) X-Virus-Scanned: clamav-milter 1.2.0 at mail X-Virus-Status: Clean X-Spamd-Result: default: False [-2.60 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ONCE_RECEIVED(0.10)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:5650, ipnet:47.181.128.0/18, country:US]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4T0qvz0tBlz3Jgk X-Spamd-Bar: -- --Apple-Mail=_583B3888-52DD-41A0-B87A-71B8A046B1C6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I am using CVS from the packages. Lately, every time I run it, I get = the following message: warning: this CVS does not support PreservePermissions How do I get it to either drop the message, or actually preserve = permissions? -- Doug --Apple-Mail=_583B3888-52DD-41A0-B87A-71B8A046B1C6 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii I am using CVS from the packages.  Lately, every time I run it, I get the following message:

warning: this CVS does not support PreservePermissions

How do I get it to either drop the message, or actually preserve permissions?

-- Doug

--Apple-Mail=_583B3888-52DD-41A0-B87A-71B8A046B1C6-- From nobody Thu Dec 28 17:40:36 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 4T1G4x43dKz56Dpr for ; Thu, 28 Dec 2023 17:40:49 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 4T1G4w3yvYz3gSf for ; Thu, 28 Dec 2023 17:40:48 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-questions-local@be-well.ilk.org designates 23.30.133.173 as permitted sender) smtp.mailfrom=freebsd-questions-local@be-well.ilk.org; dmarc=pass (policy=none) header.from=ilk.org Received: from lowell-Ubuntu.lan (lowell-Ubuntu.lan [172.30.250.95]) by be-well.ilk.org (Postfix) with ESMTP id DF1F2726FF; Thu, 28 Dec 2023 12:40:36 -0500 (EST) Received: by lowell-Ubuntu.lan (Postfix, from userid 1147) id D276D1080506; Thu, 28 Dec 2023 12:40:36 -0500 (EST) From: Lowell Gilbert To: Doug Hardie Cc: freebsd-questions@freebsd.org Subject: Re: cvs question In-Reply-To: <18F215F5-82A4-40E5-85E9-F753CEB04B56@sermon-archive.info> (Doug Hardie's message of "Wed, 27 Dec 2023 17:01:18 -0800") References: <18F215F5-82A4-40E5-85E9-F753CEB04B56@sermon-archive.info> Date: Thu, 28 Dec 2023 12:40:36 -0500 Message-ID: <44h6k2p6nf.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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 X-Spamd-Result: default: False [-3.36 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.66)[-0.663]; DMARC_POLICY_ALLOW(-0.50)[ilk.org,none]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:7922, ipnet:23.30.0.0/15, country:US]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4T1G4w3yvYz3gSf X-Spamd-Bar: --- Doug Hardie writes: > I am using CVS from the packages. Lately, every time I run it, I get the following message: > > warning: this CVS does not support PreservePermissions > > How do I get it to either drop the message, or actually preserve permissions? In the CVSROOT/config file, set "PreservePermissions=no" (which I thought was the default anyway). Permissions were always a bit wonky in CVS at best, and hard links even more so. From nobody Sat Dec 30 01:51:09 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 4T24wm00Rhz55n2l for ; Sat, 30 Dec 2023 01:51:36 +0000 (UTC) (envelope-from varun@guag.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 4T24wl3DXTz4fjd for ; Sat, 30 Dec 2023 01:51:35 +0000 (UTC) (envelope-from varun@guag.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=guag.net header.s=fm2 header.b=WrZS5jI1; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=A3oVFlq9; spf=pass (mx1.freebsd.org: domain of varun@guag.net designates 66.111.4.26 as permitted sender) smtp.mailfrom=varun@guag.net; dmarc=pass (policy=none) header.from=guag.net Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 597115C010E for ; Fri, 29 Dec 2023 20:51:35 -0500 (EST) Received: from imap43 ([10.202.2.93]) by compute6.internal (MEProxy); Fri, 29 Dec 2023 20:51:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=guag.net; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1703901095; x=1703987495; bh=CbNTBYCTQr6yPStaymZSwlmE4n+Ha8JH NrkIA/bGqFQ=; b=WrZS5jI13JwN0RYuhFOIsf5m/w8Cp3KyorHYgkCkOr22lQOI mhq4OfY/ahNr1u5tt3tO4d41i7vAJPfjmyM+3/TKYQO6usl57NiFloViReoB83Tr /JdnzVqicFV1aE/beSesRtVK7hCCxHWeXjYuWVQlN8qnhr9kGoa9Fm2eEfGAhHD4 Cgl6f8dsXeiazeMszciNKrzGa8l7nz/MIaCj9agZxemZM/bSCTq4mERMcRHcWSEv +m6ZRCQ6ukd+8V9M6fRc2v5+yLSo6nq0qq5BlzTiDlTsan+jLSx4Fpvyz936wv05 bbAmNEBj7Hcrw8qcEOLRNdB/i3PcOwaZyTzupw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1703901095; x=1703987495; bh=CbNTBYCTQr6yPStaymZSwlmE4n+Ha8JHNrk IA/bGqFQ=; b=A3oVFlq9X7wlCIKGtujtRdUYc/OY+85pUCZtA3E9RRmexJeP6oo zzQ9kCHQ7cWW60QIo0rmho5ZEwTnxWraKWF8dU1zBXoqkHfwcEdy8DLbYtpi7lAB ngYPzL6AzeQRDhNhrW5SmwFntY+OrcqIhKtDl45ppzkcFcJuL/HfMMSMaBh0oTJU eNdWD5s8IBiI2mmQk12aH+i8UGyZGfEdxMn6wcXoamn/hiU57kST4LM6Wh5zvcvi MEGCucxwOYH4x4mmpOiEhlL020QIg/eQJpD/AiGcBKh+vgIcaC4VE1WmPWPmxycR axZUmvO6BtZKe98zIXZjrAoQh2qiV4fG/1Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdefgedggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsegrtderre erredtnecuhfhrohhmpedfgggrrhhunhcutehgrhgrfigrlhdfuceovhgrrhhunhesghhu rghgrdhnvghtqeenucggtffrrghtthgvrhhnpeetgedtleetieeiueegffdtieegfeeggf fgvedtheeggeejkeeiveehtdffjeetveenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehvrghruhhnsehguhgrghdrnhgvth X-ME-Proxy: Feedback-ID: i2c114938:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 21FC42D40087; Fri, 29 Dec 2023 20:51:35 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1364-ga51d5fd3b7-fm-20231219.001-ga51d5fd3 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 Message-Id: <19399bfd-f7e2-4619-b295-db7cd7d6aa6f@app.fastmail.com> Date: Fri, 29 Dec 2023 20:51:09 -0500 From: "Varun Agrawal" To: freebsd-questions@freebsd.org Subject: Collecting performance counter on AMD Zen processors Content-Type: multipart/alternative; boundary=5bcc403860ff43b4ab675754dba3db05 X-Spamd-Result: default: False [-5.19 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[guag.net,none]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.26:c]; R_DKIM_ALLOW(-0.20)[guag.net:s=fm2,messagingengine.com:s=fm2]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.26:from]; RWL_MAILSPIKE_GOOD(-0.10)[66.111.4.26:from]; XM_UA_NO_VERSION(0.01)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[guag.net:+,messagingengine.com:+]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4T24wl3DXTz4fjd X-Spamd-Bar: ----- --5bcc403860ff43b4ab675754dba3db05 Content-Type: text/plain Hello, I run FreeBSD 14 on a machine with AMD Zen3 cores. I want to collect CPU performance metrics such as IPC, L1/L2/L3 miss rate, TLB miss rate, etc. To my surprise, I don't find any tool that supports collecting this data. I find that FreeBSD has support for collecting this data using hwpmc, but hwpmc only supports the AMD K7 and K8 architecture. Is someone planning to add support for AMD Zen cores? If not, I can help add this support. If there is another way to collect CPU performance counter data on FreeBSD, I would like to learn about that too. Regards, Varun --5bcc403860ff43b4ab675754dba3db05 Content-Type: text/html
Hello,

I run FreeBSD 14 on a machine with AMD Zen3 cores. I want to collect CPU performance metrics such as IPC, L1/L2/L3 miss rate, TLB miss rate, etc. To my surprise, I don't find any tool that supports collecting this data.

I find that FreeBSD has support for collecting this data using hwpmc, but hwpmc only supports the AMD K7 and K8 architecture. Is someone planning to add support for AMD Zen cores? If not, I can help add this support.

If there is another way to collect CPU performance counter data on FreeBSD, I would like to learn about that too.

Regards,
Varun
--5bcc403860ff43b4ab675754dba3db05--