On Ubuntu 16.04 AWS instance, a WordPress website is working just fine. When I tried to install another IMS (institute management system), it failed to install and the self-installer showed the following error:
Required - MySQL PHP extension available (Not Available)
My php version: 7.0.33-0ubuntu0.16.04.5
My MySQL version: 14.14 Distrib 5.7.27, for Linux (x86_64) using EditLine wrapper
I have tried changing the php.ini
file.
Uncommented the line
extension=mysql.so
Although when I went to the location, i.e, /usr/lib/php/20151012
, there was no file named mysql.so
.
There was a file named mysqli.so
, so I then changed the line to
extension=mysqli.so
and then restarted the apache2 service but to no avail. There is still the same error:
Required - MySQL PHP extension available (Not Available)