Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #18363 > unrolled thread
| Started by | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| First post | 2020-09-18 06:48 +0200 |
| Last post | 2020-09-20 10:36 +0200 |
| Articles | 5 — 3 participants |
Back to article view | Back to comp.lang.php
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
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Date | 2020-09-18 06:48 +0200 |
| Subject | sendmail_path setting |
| Message-ID | <rk1e74$1des$2@gioia.aioe.org> |
$ grep sendmail_path /etc/php/7.4/cli/php.ini
;sendmail_path =
it looks like it's not set, though...
$ php -r "echo ini_get('sendmail_path');"
/usr/sbin/sendmail -t -i
is set.
Strange...
[toc] | [next] | [standalone]
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Date | 2020-09-18 07:57 +0200 |
| Message-ID | <hsj0i0F42ooU1@mid.individual.net> |
| In reply to | #18363 |
On 18/09/2020 06:48, alex wrote:
> $ grep sendmail_path /etc/php/7.4/cli/php.ini
> ;sendmail_path =
>
> it looks like it's not set, though...
>
> $ php -r "echo ini_get('sendmail_path');"
> /usr/sbin/sendmail -t -i
>
> is set.
>
> Strange...
It's the default value, php will try to get it right with the path, in
case it fails, you have the option to set a path if needed.
see https://www.php.net/manual/en/mail.configuration.php
--
//Aho
[toc] | [prev] | [next] | [standalone]
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Date | 2020-09-18 13:21 +0200 |
| Message-ID | <rk258a$17br$1@gioia.aioe.org> |
| In reply to | #18364 |
Il 18/09/20 07:57, J.O. Aho ha scritto: > > It's the default value, php will try to get it right with the path, in > case it fails, you have the option to set a path if needed. > > see https://www.php.net/manual/en/mail.configuration.php > thanks
[toc] | [prev] | [next] | [standalone]
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Date | 2020-09-19 15:09 +0200 |
| Message-ID | <hsme7uFq0rmU1@mid.individual.net> |
| In reply to | #18363 |
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
[toc] | [prev] | [next] | [standalone]
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Date | 2020-09-20 10:36 +0200 |
| Message-ID | <rk749g$hgc$1@gioia.aioe.org> |
| In reply to | #18366 |
Il 19/09/20 15:09, Arno Welzel ha scritto: > ... thanks
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web