page with php ending not opening
Posted: Sun Feb 19, 2023 12:18 pm
Hi, using MAMP I have the issue of a page with index.php on localhost does not open (index.html works fine).
Instead, on a brand new WordPress installation, a file is downloaded:
What might be the reason? (Mamp 6.8, MacBook Pro M2)
Thanks
Instead, on a brand new WordPress installation, a file is downloaded:
Code: Select all
<?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 __DIR__ . '/wp-blog-header.php';
Thanks