Unable to access admin web page

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 r

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745365977a4624580.html

相关推荐

  • Unable to access admin web page

    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 r

    5小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信