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