Update README instructions for PHP

Looks like sendmail_path is now restricted to PHP_INI_SYSTEM.

Thanks @albancrommer. Fixes #177.
This commit is contained in:
Samuel Cochran 2015-01-20 08:55:57 +11:00
parent de0edff86b
commit 3e1f362250
1 changed files with 2 additions and 2 deletions

View File

@ -55,9 +55,9 @@ For projects using PHP, or PHP frameworks and application platforms like Drupal,
sendmail_path = /usr/bin/env catchmail -f some@from.address
You can do this in an [Apache htaccess file](http://php.net/manual/en/configuration.changes.php) or general configuration like so:
You can do this in your [Apache configuration](http://php.net/manual/en/configuration.changes.php) like so:
php_value sendmail_path "/usr/bin/env catchmail -f some@from.address"
php_admin_value sendmail_path "/usr/bin/env catchmail -f some@from.address"
If you've installed via RVM this probably won't work unless you've manually added your RVM bin paths to your system environment's PATH. In that case, run `which catchmail` and put that path into the `sendmail_path` directive above instead of `/usr/bin/env catchmail`.