Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18366

Re: sendmail_path setting

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: sendmail_path setting
Date Sat, 19 Sep 2020 15:09:18 +0200
Lines 31
Message-ID <hsme7uFq0rmU1@mid.individual.net> (permalink)
References <rk1e74$1des$2@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-15
Content-Transfer-Encoding 7bit
X-Trace individual.net pULUt1MdrpRDJ1V2SFnM1wTUyHXl1DLDOFNoVqP1wuRWIkjkdN
Cancel-Lock sha1:gwquvZ+rtRtn6LtzcV+zcQD4we4=
In-Reply-To <rk1e74$1des$2@gioia.aioe.org>
Xref csiph.com comp.lang.php:18366

Show key headers only | View raw


alex:

> $ grep sendmail_path /etc/php/7.4/cli/php.ini
> ;sendmail_path =
> 
> it looks like it's not set, though...

This means - it is not set to anything else as the default.

> $ php -r "echo ini_get('sendmail_path');"
> /usr/sbin/sendmail -t -i
> 
> is set.
> 
> Strange...

No, just the expected result. This setting has a default value, which
can be overwritten in php.iini. Also see here:
<https://www.php.net/manual/en/mail.configuration.php#ini.sendmail-path>

"sendmail_path string

Where the sendmail program can be found, usually /usr/sbin/sendmail or
/usr/lib/sendmail. configure does an honest attempt of locating this one
for you and set a default, but if it fails, you can set it here."



-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

sendmail_path setting alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-09-18 06:48 +0200
  Re: sendmail_path setting "J.O. Aho" <user@example.net> - 2020-09-18 07:57 +0200
    Re: sendmail_path setting alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-09-18 13:21 +0200
  Re: sendmail_path setting Arno Welzel <usenet@arnowelzel.de> - 2020-09-19 15:09 +0200
    Re: sendmail_path setting alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-09-20 10:36 +0200

csiph-web