Issue 03: add detection of PHP DSO mode

Simply check the contents of /usr/local/apache/conf/php.conf - if libphp(4|5).so is listed there, we are running in DSO mode.