[wp-trac] [WordPress Trac] #54166: Updating errors due to PHP timeouts

WordPress Trac noreply at wordpress.org
Thu Sep 23 10:56:45 UTC 2021


#54166: Updating errors due to PHP timeouts
-----------------------------+-------------------------
 Reporter:  aristath         |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  5.9
Component:  Upgrade/Install  |    Version:  trunk
 Severity:  normal           |   Keywords:  needs-patch
  Focuses:                   |
-----------------------------+-------------------------
 Initially reported in
 https://core.trac.wordpress.org/ticket/51857#comment:128
 After [51815] there is an error when updating large plugins such as
 Gutenberg or WooCommerce.
 After debugging the issue, it seems to be due to a PHP timeout and depends
 on the server's configuration (which is why the failure only occurs for
 large plugins).
 The way we delete a directory in PHP is by going through all files in that
 directory and deleting them one by one (as far as I know this is the only
 way). As a result, deleting or restoring a backup of a large plugin takes
 more time than expected.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54166>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list