Not an expert, but I've been playing with it recently, so...
- There doesn't appear to be a php binary
anywhere. (I've searched with 'find / |
grep "php"')
The PHP module binary is libphp4.so, which you already found, so moving on...
- There is a file called libphp4.so in
apache's libexec dir although moving it
out of that directory doesn't seem to make
any difference. (Still parses php even
after restarting apache without it.)
libphp4.so is the mod_php binary, so you might have found what you're looking for. I say "might have" because if Apache is parsing and executing PHP scripts after a restart, the actual PHP module must be somewhere else. Here's a few questions for you:
Are you sure you restarted Apache, and didn't just reload it? You need to actually restart it to check.
Are you sure PHP wasn't compiled directly into Apache? Run 'httpd -l' to list the modules - if PHP is listed, it's compiled into the binary.
Did you look in httpd.conf to see where it was looking for libphp4.so? It might be somewhere else.
adam