You can use grep to narrow down the information output.
ie.
sudo -u www-data php -i | grep mysql
This should shorten down the information to the mysql bit. When you got that, you could add it in here so we can have a better look at it.
You can use grep to narrow down the information output.
ie.
sudo -u www-data php -i | grep mysql
This should shorten down the information to the mysql bit. When you got that, you could add it in here so we can have a better look at it.