apache_mod_loaded() is broken
|Reported by:||hakre||Owned by:|
While reviewing a patch in #10365 which containted the apache_mod_loaded function it just came to my mind that it might be broken.
Therefore I tested that function by looking for mod_rewrite on a server which has mod_rewrite enabled. The test failed, apache_mod_loaded() returned false.
test code: var_dump(apache_mod_loaded('mod_rewrite'));
It looks like that parsing the output of phpinfo(8) for the apache module name is bogus in my eyes.
Change History (8)
- Milestone 3.0 deleted
- Resolution set to worksforme
- Status changed from new to closed
- Milestone set to 3.0
- Resolution worksforme deleted
- Status changed from closed to reopened