Is it possible to auto update php.ini via a bash script?
- by Tada.wav
I'm trying to write an install script and i need to change the sendmail line in php.ini
but I want to do this automatically
at the moment I'm doing this manually:
sudo nano /etc/php5/apache2/php.ini
finding the line containing sendmail_path =
then editing it to be
sendmail_path = /usr/bin/msmtp -t
then saving the file.
Is it possible to just auto script this to make the change?
Thanks a lot