Jump to content

PHP and MySQL version on serverstatus page


Guest

Recommended Posts

Hello,

 

After updating the page, I can't show my server's PHP and MySQL version. I added special ports to the page, the are working fine, but the versions aren't.

 

What will be the solution?

 

Regards,

Adam

Link to comment
Share on other sites

Problem solved.

 

The solution:

 

Add this lines to the getStats function in the template file:

 

jQuery("#mysqlver"+num).html(data.mysqlver);

jQuery("#phpver"+num).html(data.phpver);

 

And this lines to the template:

 

<td class="textcenter" id="phpver{$num}"><img src="images/loadingsml.gif" alt="{$LANG.loading}" /></td>

<td class="textcenter" id="mysqlver{$num}"><img src="images/loadingsml.gif" alt="{$LANG.loading}" /></td>

Link to comment
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.

  • 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