Jump to content
Sign in to follow this  
Giles

System Health Status - Reporting wrong PHP Version and thus a warning. PHP 7.2.29

Recommended Posts

Hi All,
On my System Health Status Page and the Dashboard it says.....

PHP Version

Your PHP version 7.2.29 is supported by WHMCS.

The PHP 7.2 branch no longer receives regular bug fixes and will only receive critical security updates until it reaches its end of life. Please see our documentation for more information.

but my Hosting Server is running version 7.4 of PHP (See Screenshot attached)

Do i need to run something in WHMCS to update the System Health Page so the warning goes away ?

I am Running WHMCS 7.10 (Latest Version), but the warning is not new and was also in previous WHMCS Version.

Cheers


Giles

 

 

Screenshot 2020-04-12 at 21.54.54.png

Share this post


Link to post
Share on other sites

Create a php info file with this code:

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>

And see what the file says

Share this post


Link to post
Share on other sites

@Giles are you running WHMCS on a Sub-Domain?  If you navigate to Utilites > System > PHP INformation what PHP version shows on this page?

Share this post


Link to post
Share on other sites

Oh by the way WHMCS cant run on PHP 7.4 (correct me if i’m wrong) but Ioncube is only ready till PHP 7.3. Ioncube for 7.4 is still in beta

Share this post


Link to post
Share on other sites

WHMCS 7.0-7.4 supports PHP 5.6 and 7.0
WHMCS 7.5 and later supports PHP 5.6, 7.0, 7.1, and 7.2
WHMCS 7.6 and above currently supports PHP 5.6, 7.0, 7.1, 7.2 and 7.3

Share this post


Link to post
Share on other sites

Hi @WHMCS ChrisDChrisD

It looks that your inbox can not receive any message. I have tried reach out you last 3 days asking for post forward, but not suceful wich later resulting in warning guidelines. Perhaps your inbox os deactivated or full.

Share this post


Link to post
Share on other sites

Pretty sure he's set it to not receive PMs from members, since there is no "message" icon/link in his profile. Been that way for quite a while. 

Share this post


Link to post
Share on other sites
On 13/04/2020 at 5:43 AM, WHMCS ChrisD said:

@Giles are you running WHMCS on a Sub-Domain?  If you navigate to Utilites > System > PHP INformation what PHP version shows on this page?

Hi Chris, no just 1 domain. the PHP Info does show as 7.2.29

On 13/04/2020 at 10:03 AM, osmanboy said:

Oh by the way WHMCS cant run on PHP 7.4 (correct me if i’m wrong) but Ioncube is only ready till PHP 7.3. Ioncube for 7.4 is still in beta

I have changed the PHP Version on the hosting server back to PHP 7.3 instead of 7.4 but still getting the same warning.

I don't understand why i set the server to use 7.3 via cPanel but WHMCS PHP Info shows 7.2.29.

Probably a question for the server host more than this community then I suppose.

Share this post


Link to post
Share on other sites
6 minutes ago, Giles said:

I don't understand why i set the server to use 7.3 via cPanel but WHMCS PHP Info shows 7.2.29.

I have same problem for months, and have changed php version but did not resolve it. If you find a solution post here. As it is not categorized as Critical I still live with that.

image.thumb.png.9839eb0865f2efec8f8354729ea814d7.png

 

Share this post


Link to post
Share on other sites
On 13/04/2020 at 11:02, zitu4life said:

It looks that your inbox can not receive any message. I have tried reach out you last 3 days asking for post forward, but not suceful wich later resulting in warning guidelines. Perhaps your inbox os deactivated or full. 

you should have either reported your own post to get it moved or used Community Assistance...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By cdeese8
      What's the best way to add a snippet of PHP inside a .tpl file? It looks like everybody recommends against using the {php}{/php} bracket for security reason. Should I be creating my .php snippet file in root WHMCS directory and just using include to beam it in?
      {php} include "my-php-snippet.php"; {/php} I'm looking to "add recent wordpress posts to non wordpress site" and they all involve adding php snippet to include the wp-load.php file. It'd be cool if I can avoid using an <iframe> too. This is the snippet I'd like to add a .tpl page:
      <?php // Include the wp-load'er include('/public_html/wordpress/wp-load.php'); // Get the last 10 posts // Returns posts as arrays instead of get_posts' objects $recent_posts = wp_get_recent_posts(array( 'numberposts' => 10 )); // Do something with them echo '<ul>'; foreach($recent_posts as $post) { echo '<li><a href="', get_permalink($post['ID']), '">', $post['post_title'], '</a></li>'; } echo '</ul>'; ?> * whmcs 7.4 is installed on root domain, and the wordpress site is installed in a subfolder
      * https://davidwalsh.name/wordpress-recent-posts
      * https://www.webmoves.net/blog/web-design-development/display-wordpress-posts-outside-of-wordpress-3081/
       
       
    • By ranojit
      I have change php version 7.3 to 7.4 from cPanel. I also edit cron job command and change 
      opt/alt/php73/usr/bin/php -q /*****/****/****/crons/cron.php to 
      opt/alt/php74/usr/bin/php -q /*****/****/****/crons/cron.php  
      but I got error on system health check page on my WHMCS.
       
      How can I solve this issue?
    • By amedeo
      Hi,
      I wrote an PHP utility for importing domains from an old administrative panel. The utility creates new order then confirm it. We were using nicIT for .it domains and ascio for the others tld; all worked fine, A few days ago we added internetbs and now when trying to create the order for .com domains (still managed by ascio) the AddOrder API returns a null response although the order is created and left in 'pending' status. With .it domains still works fine.
      Any idea ? is it possible to get a sort of log where to look for the reason the API call does not work properly ?
    • By sebsimappus
      Hello,
       
      I come to you to see if anyone is how the scroll Stope at some point.
       
      I joined the js code, in hope to have your help
       
      thank you in advance
       
      cordially
       

      $(document).ready(function () { var $orderSummaryEl = jQuery("#scroll"); if ($orderSummaryEl.length) { var offset = jQuery("#scrollingPanelContainer").parent('.row').offset(); //var maxTopOffset = jQuery("#scrollingPanelContainer").parent('.row').outerHeight() - 35; var maxTopOffset = jQuery("#scrollingPanelContainer").parent('.row'); var topPadding = 15; jQuery(window).resize(function() { offset = jQuery("#scrollingPanelContainer").parent('.row').offset(); //maxTopOffset = jQuery("#scrollingPanelContainer").parent('.row').outerHeight() - 35; maxTopOffset = jQuery("#scrollingPanelContainer").parent('.row'); repositionScrollingSidebar(); }); jQuery(window).scroll(function() { repositionScrollingSidebar(); }); repositionScrollingSidebar(); } function repositionScrollingSidebar() { if (jQuery("#scrollingPanelContainer").css('float') != 'left') { $orderSummaryEl.stop().css('margin-top', '0'); return false; } var heightOfOrderSummary = $orderSummaryEl.outerHeight(); var newTopOffset = jQuery(window).scrollTop() - offset.top + topPadding; if (newTopOffset > maxTopOffset - heightOfOrderSummary) { newTopOffset = maxTopOffset - heightOfOrderSummary; } if (jQuery(window).scrollTop() > offset.top) { $orderSummaryEl.stop().animate({ marginTop: newTopOffset }); } else { $orderSummaryEl.stop().animate({ marginTop: 0 }); } } });
    • By twister
      Hi guys,

      I have a php file executing some mysql queries with variables parsed by Ajax , this is why i can't do the queries directly in php tags in the WHMCS template.

      So basically there is a query.php file that i need to export the session variable to for further usage.
      I need this variable in that file
       
      {php}

      echo $_SESSION['uid'];

      {/php}
       
      so i can use it for further manipulations. 
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated