In my WordPress Dashboard:
WordPress has detected that your site is running on an insecure version of PHP.
System Info:
Plugin Version : 4.4.6
WP Version : 5.6
WPMU: No
MySQL Version : 5.7.30
WP Table Prefix : wp_
PHP Version : 7.0.33-37+0~20201103.43+debian9~1.gbp25a3d7
Session Save Path : /var/lib/php/sessions
WP URL: [snip]
Server Name : [snip]
Cookie Domain : [snip]
CURL Library Present : Yes
Debug File Write Permissions : Writable
In my Sitehealth:
Your site is running an outdated version of PHP (7.0.33-37+0~20201103.43+debian9~1.gbp25a3d7), which requires an update
cat /etc/os-release
PRETTY_NAME=”Debian GNU/Linux 9 (stretch)”
NAME=”Debian GNU/Linux”
VERSION_ID=”9″
VERSION=”9 (stretch)”
VERSION_CODENAME=stretch
ID=debian
HOME_URL=”https://www.debian.org/”
SUPPORT_URL=”https://www.debian.org/support”
BUG_REPORT_URL=”https://bugs.debian.org/”
In my html root folder:wp --info
OS: Linux 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64
Shell: /bin/bash
PHP binary: /usr/bin/php8.0
PHP version: 8.0.0
php.ini used: /etc/php/8.0/cli/php.ini
WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir: phar://wp-cli.phar/vendor
WP_CLI phar path: /var/www/html
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 2.4.0
php -v
PHP 8.0.0 (cli) (built: Dec 6 2020 06:56:11) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.0.0, Copyright (c), by Zend Technologies
My .htaccess file in my root folder:
# BEGIN WordPress
# The directives (lines) between “BEGIN WordPress” and “END WordPress” are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress