page with php ending not opening

All MAMP discussions around troubleshooting and anything related to MAMP. Be as detailed as possible here when posting an issue.
Post Reply
mamper
Posts: 3
Joined: Sun Feb 19, 2023 12:12 pm

page with php ending not opening

Post by mamper »

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:

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';

What might be the reason? (Mamp 6.8, MacBook Pro M2)

Thanks
mamper
Posts: 3
Joined: Sun Feb 19, 2023 12:12 pm

Re: page with php ending not opening

Post by mamper »

Does nobody have an idea how I can solve this?
mamper
Posts: 3
Joined: Sun Feb 19, 2023 12:12 pm

Re: page with php ending not opening

Post by mamper »

Looks like I won't be able to use MAMP ever again. I have no solution to this issue.
Post Reply