note 111791 added to mail.configuration

From: Date: Thu, 28 Mar 2013 12:27:14 +0000
Subject: note 111791 added to mail.configuration
Groups: php.notes 
Request: Send a blank email to php-notes+get-194247@lists.php.net to get a copy of this message
On Darwin OS such as OSX (current one: 10.8.3) you need to add a specific command and option to the sendmail_path constant if you have downloaded and installed a mamp with a stack. Indeed you can see the required libraries for PHP, Apache, MySQL in "common/lib" folder. The problem is when you run an external command using these libraries, for example "sendmail". It could be a problem if it gets the stack libraries and not the system ones (different versions, etc). The "env -i" command clean the Stack environment variables and run "sendmail" with the system libraries. Hope this helps. ---- Server IP: 69.147.83.199 Probable Submitter: 80.14.233.235 ---- Manual Page -- http://php.net/manual/en/mail.configuration.php Edit -- https://master.php.net/note/edit/111791 Del: integrated -- https://master.php.net/note/delete/111791/integrated Del: useless -- https://master.php.net/note/delete/111791/useless Del: bad code -- https://master.php.net/note/delete/111791/bad+code Del: spam -- https://master.php.net/note/delete/111791/spam Del: non-english -- https://master.php.net/note/delete/111791/non-english Del: in docs -- https://master.php.net/note/delete/111791/in+docs Del: other reasons-- https://master.php.net/note/delete/111791 Reject -- https://master.php.net/note/reject/111791 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#194247) next »