I'm trying to set up a MySQL database, and all seems to be working except I cannot get PHP files to communicate with it. Just to be clear, the PHP files are correct, along with the host name, username, and password (I got the files from EasyAPNS). I have all of the ports open and phpMyAdmin does work, and PHP files run. I cannot get the database to work though. When the PHP files from EasyAPNS are run, I get return data stating that "We're having a slight problem with the database". Is there any common extra configuration that I might be forgetting about? Thanks.
Try to isolate the issue first, whether it is actually a communication problem with php & mysql or it is some problem with the database itself.
Can you check this from shell...
If this does not result in something like
You are likely missing a php-mysql module ; or it is not loaded.
php.ini or include of php.ini should have something like
mysql.so Is usually provided by extra package you can look up in your distributions package management system.