user584604 asked:
Do I need to install it if I already have nginx, php-fpm and mariadb-server?
What is php-mysql for?
My answer:
Do you want your PHP code to be able to access a MySQL (or MariaDB) database? If yes, then you need this package. It provides the necessary PHP functions.
View the full question and any other answers on Server Fault.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.