admin管理员组

文章数量:1426913

When I try and access the web-admin page I get a message;

Your server is running PHP version 5.5.38 but WordPress 5.2.1 requires at least 5.6.20.

I recently upgraded PHP to version 7.3. I have checked the cPanel and indeed it says I am running 7.3 for this site. I am not sure what to try next.

When I try and access the web-admin page I get a message;

Your server is running PHP version 5.5.38 but WordPress 5.2.1 requires at least 5.6.20.

I recently upgraded PHP to version 7.3. I have checked the cPanel and indeed it says I am running 7.3 for this site. I am not sure what to try next.

Share Improve this question asked Jun 25, 2019 at 9:19 JohnJohn 1 2
  • Try to change the php version from 7.3 to 5.6 it will solve your problem. – Tejas Gajjar Commented Jun 25, 2019 at 9:23
  • 1 You should speak to your host. If WordPress isn't running on PHP 7.3 then whatever you changed in cPanel isn't working, but cPanel doesn't have anything to do with WordPress itself. – Jacob Peattie Commented Jun 25, 2019 at 9:33
Add a comment  | 

1 Answer 1

Reset to default 0

I solved this by following the instructions here;

http://www.beyondmyfrontdoor/wp/how-to-fix-wordpress-reporting-the-wrong-php-version/

I turned out that the .htaccess file was loading an old version of php as follows;

# Use PHP55
AddHandler application/x-httpd-php55 .php
<IfModule mod_suphp.c>
suPHP_ConfigPath /opt/php55/lib
</IfModule>

I commented this out and it now allows me access to the admin web page again.

本文标签: Unable to access admin web page