I created a PHP local site, and I don't know why but when I open my page I see only the PHP script on my google chrome page.
I created a Vhost like this :
<VirtualHost *:80>
    ServerName site.localhost
    ServerAlias site.localhost
    DocumentRoot /home/user/Bureau/www
    <Directory /home/user/Bureau/www>
        Options -Indexes +FollowSymLinks +MultiViews
        AllowOverride All
        Require all granted
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/myproject-error.log
    LogLevel warn
    CustomLog ${APACHE_LOG_DIR}/myproject-access.log combined
</VirtualHost>
My site does not have a problem because everything worked before.
I use LAMP.
 
    