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

MacPorts noreply at macports.org
Tue Oct 20 02:50:51 UTC 2020


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

Comment (by mav2287):

 After doing some more testing both php ran from the command line and from
 apache have the same behavior. The process just hangs. Whenever I go to
 the url for any of Wordpress sites on the server I see an httpd process
 start up on the server and shoot up to 100% CPU and stay there with about
 60M to 120M memory used. The same thing happens with composer only it
 shows as php74 when ran from the command line.

 from the browser the page never fully loads, but I see the loading
 progress bar stuck at 40% in safari and on chrome it just keep spinning
 forever. The Httpd process also seems to just run forever, even though php
 is limited to 300 seconds I have watched it go well over 10 mins at 100
 CPU in top.

 I have checked all the Apache logs, PHP errors logs, system log and
 everywhere else I can think of and nothing shows up. All of these sites
 and composer worked fine with older versions of PHP 7.4, 7.3 and 7.2, but
 after updating all 3 of those versions have this same behavior. I even
 tried stripping back my PHP74 install to just PHP 7.4 the apache module
 and mysql module, but I get the same behavior. The weird part is the sites
 all work fine if I switch to PHP7.1.

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


More information about the macports-tickets mailing list