Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: sendmail_path setting Date: Sat, 19 Sep 2020 15:09:18 +0200 Lines: 31 Message-ID: References: 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: Xref: csiph.com comp.lang.php:18366 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: "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