[wp-trac] Re: [WordPress Trac] #10011: Use of add_theme_page() causes Wordpress on IIS to crash.

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 16 03:58:59 GMT 2009


#10011: Use of add_theme_page() causes Wordpress on IIS to crash.
-------------------------------+--------------------------------------------
 Reporter:  bforchhammer       |        Type:  defect (bug)
   Status:  new                |    Priority:  normal      
Milestone:  2.9                |   Component:  Plugins     
  Version:  2.7.1              |    Severity:  major       
 Keywords:  needs-patch early  |  
-------------------------------+--------------------------------------------

Comment(by peaceablewhale):

 I have confirmed that http://bugs.php.net/bug.php?id=44412 exists in PHP
 5.2.5 with open_basedir set, the PHP script will not return anything until
 it times out.

 The bug has been fixed since PHP 5.2.6. With open_basedir set, a PHP
 warning is returned: "PHP Warning: file_exists() [function.file-exists]:
 open_basedir restriction in effect.".

 Using @file_exists() will get "false".

 Is it really worth working around the PHP bug?

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


More information about the wp-trac mailing list