Closed Jamyn closed 10 years ago
This is an alternative implementation of pull request https://github.com/bdraco/addon_securityadvisor/pull/3
Rather than checking the running process list, we can simply look at php.conf to see if we're configured to run in DSO mode.
Please resubmit with conflicts resolved
Looks like my upstream merge pulled in the other changes. I'll close this, re-sync upstream, and create a new case with just PHP.pm modified in just a little bit.
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.