Article 6NTGK Upgraded Ubuntu OS Now my website wont work

Upgraded Ubuntu OS Now my website wont work

by
LinuxRSA
from LinuxQuestions.org on (#6NTGK)
Hi All

I upgraded my ubuntu OS from Ubuntu 16.04.7 LTS to Ubuntu 22.04.4 LTS - My website no longer works :(

It gives me the below output when i type in the address.

Apache and MySQL services is active and running.

PHP Version: was on version PHP 7.0.33 it is now on version PHP 8.1.2.
MSQL Version:was on version mysql Ver 14.14 Distrib 5.7.33 it is now on mysql Ver 8.0.37-0ubuntu0.22.04.3.
Apache Version: was on version Apache/2.4.18 (Ubuntu) it is now on Apache/2.4.52 (Ubuntu)

Got this error which is HTTP ERROR 500.

Quote:
This page isn't working portal.mywebsite.com is currently unable to handle this request.
HTTP ERROR 500
Found the below errors in my error logs:

Quote:
[Fri Jun 21 21:04:52.736176 2024] [php7:error] [pid 2902] [client 147.243.43.213:38348] PHP Fatal error: Cannot use 'Object' as class name as it is reserved in /var/www/htm
l/yii/advanced/vendor/yiisoft/yii2/base/Object.php on line 77
[Fri Jun 21 21:06:31.471191 2024] [php7:error] [pid 2900] [client 147.243.43.211:56122] PHP Fatal error: Cannot use 'Object' as class name as it is reserved in /var/www/htm
l/yii/advanced/vendor/yiisoft/yii2/base/Object.php on line 77
[Fri Jun 21 21:06:33.743715 2024] [php7:error] [pid 2901] [client 147.243.43.211:56124] PHP Fatal error: Cannot use 'Object' as class name as it is reserved in /var/www/htm
l/yii/advanced/vendor/yiisoft/yii2/base/Object.php on line 77
[Fri Jun 21 21:06:39.207439 2024] [php7:error] [pid 2903] [client 147.243.43.211:55130] PHP Fatal error: Cannot use 'Object' as class name as it is reserved in /var/www/htm
Thanks
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments