Update PHP Version for Wordpress - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Monday, July 31, 2023

Update PHP Version for Wordpress

Do you have any tips for upgrading from php 7.3.3 to 8.2.8 on a Wordpress site.

I've been trying for 3 months and I can't take it anymore.

Every time I get unthinkable errors, I can't access Wordpress...

I try to modify and edit all the files that could have even a small impact on the way wordpress works, but nothing works.

I'm just completely blocked.

I'm even willing to pay someone to give you an idea of how desperate I am....

HELP PLEASE What's also very inconsistent is that when I run the command

php -v

or when I launch a php file with phpinfo(), it tells me that I'm using 8.2.7.

However, my Wordpress site displays that it's using 7.3.3

And my VPS host made it clear that I should go fuck myself for their support, even though they're the ones who provide this crappy version of php when Wordpress is installed...

In short, it's just hell and I can't do it...

Translated with www.DeepL.com/Translator (free version)

I tried to :

  • Uninstall and reinstall php so as to only have the version I'm interested in (8.2)
  • Edit the .htaccess file so that Apache has to use the version that I want
  • sudo a2enmod php8.2

And so many things that I don't remember...



source https://stackoverflow.com/questions/76799161/update-php-version-for-wordpress

No comments:

Post a Comment