[wp-trac] [WordPress Trac] #11848: bug in apache_mod_loaded()

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 9 22:43:37 UTC 2010


#11848: bug in apache_mod_loaded()
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:           
     Type:  defect (bug)       |      Status:  new      
 Priority:  normal             |   Milestone:  3.0      
Component:  General            |     Version:  2.9      
 Severity:  normal             |    Keywords:  has-patch
-------------------------------+--------------------------------------------

Old description:

> If apache functions are available, we should not return the default value
> in apache_mod_loaded().
>
> as things stand, get_mod_rewrite() would return true even if mod_rewrite
> apache_get_modules() says otherwise.
>
> also, phpinfo() is part of php core.

New description:

 If apache functions are available, we should not return the default value
 in apache_mod_loaded().

 as things stand, get_mod_rewrite() would return true even if
 apache_get_modules() says otherwise.

 also, phpinfo() is part of php core.

--

Comment(by Denis-de-Bernardy):

 tested with apache_get_modules() turned on. needs testing with it off, and
 with php loaded as cgi.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11848#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list