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


Groups > comp.lang.php > #18366

Re: sendmail_path setting

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: sendmail_path setting
Date 2020-09-19 15:09 +0200
Message-ID <hsme7uFq0rmU1@mid.individual.net> (permalink)
References <rk1e74$1des$2@gioia.aioe.org>

Show all headers | 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