[MacPorts] #61351: PHP 7.4 Wordpress & Composer Behavior

MacPorts noreply at macports.org
Wed Oct 28 23:35:00 UTC 2020


#61351: PHP 7.4 Wordpress & Composer Behavior
----------------------+------------------------
  Reporter:  mav2287  |      Owner:  ryandesign
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  php74    |
----------------------+------------------------

Comment (by steinarer):

 I have experienced the same issue after recently upgrading to PHP 7.4.11
 (along with the respective subports)

 I've tested PHP 7.4.4 versus 7.4.11 on two different Macs - one running
 10.11.6 El Capitan on MacPro3,1)  and the other 10.14.6 Mojave on MacBook
 Pro 2014.
 This issue seems to only manifest on El Capitan with PHP 7.4.11.

 I've been able to reproduce the hang/crash using the following code:

 {{{
 $date = new \DateTime();
 $newDate = $date->modify('last day of this month');
 }}}

 There are some curious differences in hang/crash behavior depending on the
 modifier string:

 {{{
 modify('-1 day');
 }}}
 does not cause any issues - while "''-1 seconds''" does.

 There could be more, obviously.

 The hang/crash issue seems to behave the same across the different SAPI's
 (mod_php7/apache, php74, php74-cgi and php74-fpm)'

-- 
Ticket URL: <https://trac.macports.org/ticket/61351#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list