Topic on Manual talk:Upgrading

PHP version discrepancy

2
Huwmanbeing (talkcontribs)

I'm seeing a discrepancy between what my Ubuntu server reports as the current installed version of PHP (7.4.1) and what my MediaWiki Special:Version page says is the current installed version of PHP (7.0.33).

The instructions say that the versions of PHP used at the command line and by MediaWiki can be different, but I'm not sure how to resolve it (and the instructions just say to "ask your hoster"). Any suggestions, or could someone point me to instructions? Thanks! Huwmanbeing (talk) 10:57, 21 December 2019 (UTC)

星耀晨曦 (talkcontribs)

It's likely that you have multiple PHP versions installed on your server. Do you use an software bundle, such as XAMPP?

The software management mechanism in these software bundle is not the same as the software management mechanism of the operating system. The operating system does not automatically recognize software bundle. So when you install PHP using yum or apt, it will still install, even if the package bundle already has PHP.

Reply to "PHP version discrepancy"