I have updated the php to v7.3 on debain but my wordpress still complains

I have updated the php to v7.3 on debain but my wordpress still complains about not having an outdated version. I followed this link https://computingforgeeks.com/how-to-install-php-7-3-on-debian-9-debian-8/
when I run php -v, this is the output I [email protected]:~# php -v
PHP 7.3.25-1+0~20201130.73+debian10~1.gbp042074 (cli) (built: Nov 30 2020 20:40:10) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.25, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.25-1+0~20201130.73+debian10~1.gbp042074, Copyright (c) 1999-2018, by Zend Technologies

Please suggest what did I miss?

2 Replies

a2dismod php7.2 #to disable Old version

a2enmod php7.3 #to enable current version

systemctl restart apache2 # restart Apache

Cheers!!

@unixmen --

Your response assumes that the OP is using libapache2-mod-php.xx.yy…which may not be the case. If the OP is using php-fpm(8), the diagnosis and solution are not quite so straightforward.

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct