php isn't working

Hi, I just did a fresh install of virtualmin, i had my server on ubuntu server, but I changed it to debian. after the install I restored the backup, but it appears as php isn’t working, if you go to my site it gives a php mysql database connection error, and if you go to any other php site on my site it just shows up as blank. any ideas as to how I can resolve this issue? Many thanks

I resolved the issue, the backup was only an incremental backup, and the install script didn’t install the php5-mysql package, so after uploading the full site and installing php5-mysql everything is back up and running