Getting the following error Aimeos\MW\DB\Exception: An exception occurred in driver: could not find driver.
I am running this on a LAMP. After looking around for answers I found out this is because the pdo_mysql in this case is not enabled.
I tried the following solutions:
I looked at phpinfo and saw the following:
PDO
- PDO Support enabled
- PDO Drivers no value
I went to php.ini and I uncommented extension=pdo_mysql. Then I restarted Apache, I still get the same error.
My Aimeos .env file is configured properly and tested since migrations worked fine during installation.
I checked that pdo_mysql is there using the php -m
It is worth noting that my php cli and phpinfo are different versions, but I dont think this should be the issue. The cli is 8.2 and phpinfo version is 8.1.
I was expecting that when I restart apache to have to pdo_mysql module show up in phpinfo, or get rid of the error.