#28454 [Bgs]: cannot set sendmail_path in httpd.conf
| From: | bugs dot php dot net at phoenixdigital dot com | Date: | Thu, 20 May 2004 11:36:54 +0000 |
| Subject: | #28454 [Bgs]: cannot set sendmail_path in httpd.conf | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59797@lists.php.net to get a copy of this message | ||
ID: 28454
User updated by: bugs dot php dot net at phoenixdigital dot com
Reported By: bugs dot php dot net at phoenixdigital dot com
Status: Bogus
Bug Type: *Configuration Issues
Operating System: Freebsd 4.9 Stable
PHP Version: 4.3.4
New Comment:
Thankyou :)
I thought that you could only set ini variables with this
php_value sendmail_path "/usr/sbin/sendmail -t -i -f from@what.ever"
I did not know about this one.
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f
from@what.ever"
It works perfectly. Sorry for submitting a bug but I found nothing in
any newsgroup/google/mailing list regarding this problem and assumed it
was bug.
Thanks for a great product people :)
Previous Comments:
------------------------------------------------------------------------
[2004-05-20 13:21:47] edink@php.net
php_admin_value sendmail_path "blah"
works just fine.
------------------------------------------------------------------------
[2004-05-20 12:45:59] bugs dot php dot net at phoenixdigital dot com
Actually come to think of it I have moved this back into the config
issues as a bug because you thought I was talking about a .htaccess
file.
It is fair enough that you limit the modification of sendmail_path in a
.htaccess file.
However as the manual states you CAN modify this in the httpd.conf
which is where we are trying to modify it. Since htttp.conf files are
generally only controlled by administrators then this is not a security
issue.
------------------------------------------------------------------------
[2004-05-20 12:44:19] derick@php.net
It can be set in httpd.conf, just not in a virtual host setting.
------------------------------------------------------------------------
[2004-05-20 12:35:35] bugs dot php dot net at phoenixdigital dot com
Also you said I can't set in in .htaccess I am not being picky but I
did state that I am trying to set it in the httpd.conf which is
completely different.
------------------------------------------------------------------------
[2004-05-20 12:33:27] bugs dot php dot net at phoenixdigital dot com
Then this is a documentation issue because on this page
http://au.php.net/ini_set
sendmail_path DEFAULT_SENDMAIL_PATH PHP_INI_SYSTEM
where
PHP_INI_SYSTEM 4 Entry can be set in php.ini or httpd.conf
It claims you CAN set it in a httpd.conf NOT
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/28454
--
Edit this bug report at http://bugs.php.net/?id=28454&edit=1