Basically I installed everything following the LEMP tutorial in the docs.
Installed NGINX, MariaDB, PHP correctly and set up everything.
So pretty much it works perfectly excpet my code has some PDO connection to the MYSQL database and it cannot "find the driver". I looked up online and most people say to uncomment the extension=pdo_mysql.so line in the /etc/php/php.ini file. It doesn't work. I reinstalled PHP reconfigured everything, and it didn't work.
phpinfo() returns this:
PDO support -> enabled
PDO drivers -> no value
Other suggested solutions were based on "apt-get" queries which I am not sure if they work on KaOS