Trouble with subserver

Hello everyone,

I’m working on a website (prestashop), and I recently created a sub-server to test the website (
I put the files on the sub-server and changed the config files and the database shop_url to match the website.

The problem is, when I’m trying to enter the website (or the phpmyadmin, or the backoffice) it only displays php code…

Anyone can help? Thanks.