Mohamad Ibrahim
Mohamad Ibrahim

Reputation: 5555

Wordpress Debian Server Shows php version 8.2 But Wordress info page shows earlier version

Wordpress website version shows php -v PHP 8.2.7 (cli) (built: Jun 9 2023 07:37:35) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.7, Copyright (c) Zend Technologies with Zend OPcache v8.2.7, Copyright (c), by Zend Technologies

However, the WordPress info page shows: PHP version 7.4.33 (Supports 64bit values)

The question is how can I have the WordPress run on the latest php version?

Upvotes: 0

Views: 55

Answers (1)

Eriks Klotins
Eriks Klotins

Reputation: 4180

CLI version of PHP has nothing to do with the web version. Install and configure your webserver to use the desired version:

See here: https://superuser.com/questions/969861/phpinfo-and-php-v-shows-different-version-of-php.

Upvotes: 0

Related Questions