Setting path variable for apache user on Amazon Ec2
Ended up following what Alfe suggested in his answer, except rather than in the /etc/init.d/httpd
file (which could be overwritten easily on update) I added to /etc/sysconfig/httpd
:
export PATH=${PATH:+$PATH:}/usr/local/bin