mirror of
https://github.com/moparisthebest/mailcatcher
synced 2025-03-11 06:50:12 -04:00
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:
parent
de0edff86b
commit
3e1f362250
@ -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`.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user