[wp-trac] [WordPress Trac] #54780: Site Health Info => Returns a fatal error in php 8.0
WordPress Trac
noreply at wordpress.org
Thu Aug 3 21:24:13 UTC 2023
#54780: Site Health Info => Returns a fatal error in php 8.0
-------------------------------+-----------------------------
Reporter: alfredo49 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Site Health | Version: 5.8.3
Severity: normal | Resolution: invalid
Keywords: needs-patch php80 | Focuses: administration
-------------------------------+-----------------------------
Changes (by hellofromTonya):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
As previously noted by @costdev and @SergeyBiryukov, the code is guarded
by `function_exists()` and thus should be protected against running
`exec()` when the hosting company disables it.
What about the edge case where `function_exists()` might return `true`. As
@SergeyBiryukov noted:
>As also noted in comment:3:ticket:42085, it is possible for the
`function_exists(`) check to return `true` if Suhosin is in use. However,
that would be an edge case, as Suhosin was only officially available for
PHP 5.4 to 5.6, and its development was discontinued in 2015.
Core bumped the minimum PHP version to 7.0 during 6.3. Suhosin is for PHP
5, not 7.0.
I think this ticket can be closed. It seems the issue is likely due to
something other than Core. Given the age of this ticket and no other
reports of the same issue, I'll go ahead and close it.
If however the issue persists today, @alfredo49 please reopen this ticket
and share any additional information including some of the tips asked
previously. Any information you can provide is helpful for contributors to
continue investigating.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54780#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list