I take
php.ini:sudo vim /etc/php/7.0/cli/php.iniChange
;sendmail =tosendmail = <my/path>.Save changes.
Rebooting server:
sudo service apache2 restartMoving to my
phpinfo():http://test/php/info.phpThe
sendmail_pathvalue has not changed:/usr/sbin/sendmail
What could be the reason?