WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 3 months ago

Last modified 3 months ago

#47184 closed defect (bug) (worksforme)

Site Health on 5.2 fails to detect PHP gd module on Debian Stretch

Reported by: lovingboth Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.2
Component: Site Health Keywords: site-health
Focuses: Cc:
PR Number:

Description

What /wp-admin/site-health.php says:

2 Critical issues

One or more required modules are missing (performance)

PHP modules perform most of the tasks on the server that make your site run. Any changes to these must be made by your server administrator.

The WordPress Hosting Team maintains a list of those modules, both recommended and required, in the team handbook (opens in a new tab).

    Error The required module, gd, is not installed, or has been disabled.

What running phpinfo() on the same site says:

gd
GD Support 	enabled
GD headers Version 	2.2.4
GD library Version 	2.2.4
FreeType Support 	enabled 
(etc)

Server running Debian Stretch, PHP 7.0.33 (including the php7.0-gd package)

Change History (6)

#1 @lovingboth
6 months ago

  • Component changed from General to Administration

#2 @SergeyBiryukov
6 months ago

  • Keywords site-health added

#3 @lovingboth
6 months ago

The site health feature also says the server “requires” a PHP upgrade, either because it thinks 7.0 is no longer supported, or another bug.

Ah, yes, if I query the server at https://api.wordpress.org/core/serve-happy/1.0/?php_version=7.0, I get back

    recommended_version “7.3”
    minimum_version “5.6.20”
    is_supported false
    is_secure false
    is_acceptable true

Well, it’s supported on Debian Stretch.

Here’s the results from the site health info, after having increased the PHP time limit to cope with updating themes (see other report).

Server architecture Linux 4.9.0-8-686-pae i686
Web server Apache
PHP version 7.0.33-0+deb9u3 (Does not support 64bit values)
PHP SAPI fpm-fcgi
PHP max input variables 1000
PHP time limit 60
PHP memory limit 256M
Max input time 60
Upload max filesize 2M
PHP post max size 8M
cURL version 7.52.1 OpenSSL/1.0.2r
Is SUHOSIN installed? No
Is the Imagick library available? No

#4 @desrosj
5 months ago

  • Component changed from Administration to Site Health

Moving Site Health tickets into their lovely new home, the Site Health component.

#5 @bronsonquick
3 months ago

  • Resolution set to worksforme
  • Status changed from new to closed

I've just spun up a VM that using Debian GNU/Linux 9.9 (stretch) Release: 9.9, WordPress 5.2.0, PHP 7.0.33 and gd 2.2.4 and I can't replicate this issue.

https://s3.amazonaws.com/bronsons-captured/Site_Health_Status_9_Chassis_Site__WordPress_2019-08-09_17-39-32.png

#6 @desrosj
3 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.