Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Dec 2023 10:47:53 -0500
From:      Paul Procacci <pprocacci@gmail.com>
To:        "lain." <lain@fair.moe>
Cc:        questions@freebsd.org
Subject:   Re: Re: PHP Issue - for the sysadmins
Message-ID:  <CAFbbPujRj4qi3uW-GUwcpOtwzz-GO3Ji%2BH6sKjeus663-eJL-A@mail.gmail.com>
In-Reply-To: <wdz2djrj3gz2f7y2qtza6keef4r6rugimsy3nxw36dpykdx3nm@gbyhmzk2rs2t>
References:  <CAAdA2WMj0KH=62q_LAwY9KJa1EpHUqw2GbVNUD9U4xZGJjj_TA@mail.gmail.com> <r45pbttkpflt4iyaudaji3x6cprmdkxjktdufchxgnqnwlrf25@kv6fbx2bny7j> <CAAdA2WPy8xzoXWFHHTJtL05uPF1Yf9qQvDV1O%2BBWd1TbcDNhyA@mail.gmail.com> <CAAdA2WP97WKywqtbt_o8-kgWAKz%2B-cJDwFzCsNdFZ-bb57p_RA@mail.gmail.com> <wdz2djrj3gz2f7y2qtza6keef4r6rugimsy3nxw36dpykdx3nm@gbyhmzk2rs2t>

next in thread | previous in thread | raw e-mail | index | archive | help
--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. <lain@fair.moe> 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 <odhiambo@g=
mail.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 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:

<?php phpinfo(); ?>

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

<div dir=3D"ltr"><div><div><div dir=3D"ltr"><br></div><br><div class=3D"gma=
il_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Dec 25, 2023 at 10:=
34=E2=80=AFAM lain. &lt;lain@fair.moe&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">On 2023=E5=B9=B412=E6=9C=8825=E6=97=A5 15:=
24, the silly Odhiambo Washington claimed to have said:<br>
&gt; On Mon, Dec 25, 2023 at 3:12=E2=80=AFPM Odhiambo Washington &lt;<a hre=
f=3D"mailto:odhiambo@gmail.com" target=3D"_blank">odhiambo@gmail.com</a>&gt=
;<br>
&gt; wrote:<br>
&gt; &gt; You are right to an extent. I am using php-fpm for the site.<br>
&gt; &gt; I thought that php-fpm should inherit all modules loaded by PHP. =
No?<br>
&gt; &gt; How then do I tell php-fpm to do it?<br>
&gt; &gt;<br>
&gt; <br>
&gt; Just to add. This is FreeBSD and there is only one php.ini file -<br>
&gt; /usr/local/etc/php.ini<br>
&gt; <br>
<br>
Of course I know you&#39;re using FreeBSD, considering you&#39;re asking th=
is in<br>
a FreeBSD mailing list, so totally not assuming you&#39;re using Windows 98=
<br>
or something.<br>
<br>
I installed PHP on my FreeBSD server (pkg install php83) just to check.<br>
It does indeed seem to differ a little bit from Linux (I don&#39;t use PHP<=
br>
anymore, I switched to Go some time ago after a solid 2 decades of<br>
coding in PHP).<br>
However, could you check both your CLI output and web output on what ini<br=
>
path it&#39;s returning?<br>
<br>
-- <br>
lain.<br>
<br>
Did you know that?<br>
90% of all emails sent on a daily basis are being sent in plain text, and i=
t&#39;s super easy to intercept emails as they flow over the internet?<br>
Never send passwords, tokens, personal information, or other volunerable in=
formation without proper PGP encryption!<br>
<br>
If you&#39;re writing your emails unencrypted, please consider sending PGP =
encrypted emails for security reasons.<br>
You can find my PGP public key at: <a href=3D"https://fair.moe/lain.asc" re=
l=3D"noreferrer" target=3D"_blank">https://fair.moe/lain.asc</a><br>;
<br>
Every good email client is able to send encrypted emails.<br>
If yours can&#39;t, then you should consider switching to a secure email cl=
ient, because yours just sucks.<br>
<br>
My recommendations are Claws Mail or NeoMutt.<br>
For instructions on how to encrypt your emails:<br>
<a href=3D"https://unixsheikh.com/tutorials/gnupg-tutorial.html" rel=3D"nor=
eferrer" target=3D"_blank">https://unixsheikh.com/tutorials/gnupg-tutorial.=
html</a><br>
<br>
</blockquote></div><br clear=3D"all"></div>To further this ...=C2=A0=20
lain

is 100% on the right track.<br></div><div><br></div><div>To show the path t=
o the ini via the command line:<br><br></div><div>php -i <br></div><div><br=
></div><div>To show the path to the ini via web:<br></div><div><br></div><d=
iv>&lt;?php phpinfo(); ?&gt;<br><br></div><div>I&#39;m betting they&#39;re =
different as already has been stated.</div><div><br></div><div>I too don&#3=
9;t use php anymore, now I just stick with perl.=C2=A0 ;)<br><br></div><div=
>~Paul<br></div><div><div><span class=3D"gmail_signature_prefix">-- </span>=
<br><div dir=3D"ltr" class=3D"gmail_signature">__________________<br><br>:(=
){ :|:&amp; };:</div></div></div></div>

--000000000000c014e0060d577d5e--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFbbPujRj4qi3uW-GUwcpOtwzz-GO3Ji%2BH6sKjeus663-eJL-A>