According to the documentation, PHP will first look for Sendmail in your path and then in the following directories: /usr/bin, /usr/sbin, /usr/etc, /etc, /usr/ucblib, and /usr/lib. A symbolic link must be made in one of those directories which points to the Exim binary.