Make WordPress Core

Opened 3 days ago

Closed 2 days ago

Last modified 16 hours ago

#64495 closed defect (bug) (worksforme)

Site Status WordPress 6.9 Cannot See PHP 8.5

Reported by: hehe1234's profile hehe1234 Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.9
Component: General Keywords:
Focuses: Cc:

Description

I have PHP 8.5. However, my Site Status pages show a warning that my site is using the outdated version 8.1.34.

I had no problems with PHP 8.4.

screenshot: https://ibb.co/hFKLX1fr

Change History (7)

#1 @hehe1234
3 days ago

  • Summary changed from Site Status WordPress 8.9 Cannot See PHP 8.5 to Site Status WordPress 6.9 Cannot See PHP 8.5

#2 @swissspidy
2 days ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Hi there and welcome to Trac

When a new version of PHP is released, it usually means that older versions won't be supported anymore. PHP 8.1 stopped receiving updates at the end of 2025. So this Site Health warning is expected.

You should ask your hosting provider to update to a stable and supported PHP version.

#3 @knutsp
2 days ago

The reporter starts with saying:

I have PHP 8.5.

I think that, before closing, someone should actually check with PHP 8.5.

I see that https://api.wordpress.org/core/serve-happy/1.0/?php_version=8.5 returns is_acceptable

#4 follow-up: @dd32
2 days ago

Unfortunately many hosting environments can have multiple ways of specifying PHP versions, it's highly likely that PHP 8.1 is running on the environment, either through a .htaccess or another rule in the hosting panels settings. In this case, phpversion() must be returning 8.1.34.

The web hosting company would have to look at the reporters site.

A plugin such as https://wordpress.org/plugins/phpinfo-wp/ (Untested by me) could be used to validate that PHP 8.1 or PHP 8.5 is indeed in use.

#5 in reply to: ↑ 4 @knutsp
2 days ago

Replying to dd32:

A plugin such as https://wordpress.org/plugins/phpinfo-wp/ (Untested by me) could be used to validate that PHP 8.1 or PHP 8.5 is indeed in use.

I agree this is likely the case, but Site Health Info tab, Server section, shows the actually running PHP version, no plugin needed.

#6 @hehe1234
28 hours ago

Information-->Serwer

Architektura serwera Linux 6.1.0-38-amd64 x86_64
Serwer webowy Apache/2.4.66 (Debian)
Wersja PHP 8.1.34 (Wspiera wartości 64 bitowe)
PHP SAPI fpm-fcgi
Maksymalna liczba obsługiwanych przez PHP pól 5000
Limit czasu wykonania PHP 600
Limit pamięci PHP 256M
Maksymalny czas wejścia -1
Maksymalna wielkość przesyłanego pliku 128M
Maksymalna wielkość zapytania post w PHP 128M
Wersja cURL 7.88.1 OpenSSL/3.0.17
Czy SUHOSIN jest zainstalowany? Nie
Czy biblioteka Imagick jest dostępna? Nie
Czy włączone są bezpośrednie odnośniki? Tak
Reguły .htaccess Dodano własne reguły do pliku .htaccess.
robots.txt Twoja witryna korzysta z dynamicznego pliku robots.txt generowanego przez WordPressa.
Bieżący czas 2026-01-12T22:38:11+00:00
Bieżący czas UTC Monday, 12-Jan-26 22:38:11 UTC
Bieżący czas serwera 2026-01-12T23:38:09+01:00

screenshot: https://ibb.co/6Rx0DJ3x

#7 @hehe1234
16 hours ago

Information--> Serwer PHP 8.4

Architektura serwera Linux 6.1.0-38-amd64 x86_64
Serwer webowy Apache/2.4.66 (Debian)
Wersja PHP 8.4.16 (Wspiera wartości 64 bitowe)
PHP SAPI fpm-fcgi
Maksymalna liczba obsługiwanych przez PHP pól 5000
Limit czasu wykonania PHP 40
Limit pamięci PHP 256M
Maksymalny czas wejścia -1
Maksymalna wielkość przesyłanego pliku 100M
Maksymalna wielkość zapytania post w PHP 100M
Wersja cURL 7.88.1 OpenSSL/3.0.17
Czy SUHOSIN jest zainstalowany? Nie
Czy biblioteka Imagick jest dostępna? Nie
Czy włączone są bezpośrednie odnośniki? Tak
Reguły .htaccess Dodano własne reguły do pliku .htaccess.
robots.txt Twoja witryna korzysta z dynamicznego pliku robots.txt generowanego przez WordPressa.
Bieżący czas 2026-01-13T11:11:42+00:00
Bieżący czas UTC Tuesday, 13-Jan-26 11:11:42 UTC
Bieżący czas serwera 2026-01-13T12:11:41+01:00

https://ibb.co/1GcgMhrG

Note: See TracTickets for help on using tickets.