Purchased Project of Php Codeigniter is not working on Ubuntu 20.04 but works on Window 10

  apache, codeigniter, php, ubuntu

I have a purchased project it’s working on windows and mac but not on ubuntu 20.04. It shows foolish coding errors on ubuntu I resolved 4 or 5 errors but it continuously showing errors on different files in the logs directory furthermore it also showing the error in the console which is given below

Failed to load resource: the server responded with a status of 500 ()

I searched on the internet where I got some information related to the .htaccess file and some are saying there are some issues of configuration in the php.ini file I wasted a lot of time here so I shall be very thankful to you guys if you guide me about my issues and their solution thank you. .htaccess and logs pictures are added you can check them for your understanding.

enter image description here
enter image description here
enter image description here

Source: Ask PHP