Viewing Admin and site showing php code

Never had a problem until now. After Local provisions the site I try to view the admin only to see actual php code of the wordpress admin page. If I try to view the site I get:

<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' );

This is on macOS Sierra version 10.12.6

I’m using Local 2.0.8…going to try the newer 2.1 pre release and see what happens

Local 2.1 seems to work!!

1 Like

This is happening to me this morning on trying to create new site WP 4.9.1 - its just printing out the PHP instead of rendering the site. Is there a solution? (i am running VM 5.2.2 manually installed, and LBF 2.2.0 Pre Release)