on the command line type "which php"
if that doesn't turn up anything look in /usr/bin or /usr/local/bin for a php binary
if you don't see anything there look in your apache libexec directory for a libphp4.so or the like, which will tell you its installed as a dyanmic module, if thats missing, you've got php installed into apache.