XF 2.0 How to update server environment report

Mr Lucky

Well-known member
I have been using php 7.2 for a couple weeks. My server environment report is still saying 5.6.38

SafariScreenSnapz070.webp

How do I get this to update to show the correct version?

Thanks
 
Last edited:
That suggests you’re not actually running PHP 7.2 so you should check your config and maybe restart the web server or PHP-FPM if you haven’t already.

The report is “live” so doesn’t need updating.
 
It is on 7.2 Chris. cPanel sets which version to use in .htaccess

Code:
<IfModule mime_module>
  AddType application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
 
If the environment report says 5.6 then it is definitely running 5.6. It gets that from phpversion() on page load so whatever version it lists there is whatever version is running.

You may also want to check admin.php?tools/phpinfo for confirmation.
 
Aha, I moved xenforo from root to community a couple of years ago when wp was installed in root, I would have moved it along with all xenforo files and I was unaware cpanel had written it there.. So I just removed it and all is well - that explains the mystery!
 
tenor.gif
 
Top Bottom