MAMP PHP errors
-
Hi there,
I’ve just setup MAMP to edit a WordPress website locally (the web hosted version works fine)
Originally had error establishing database connection error – fixed that after reading online by adding “AddType x-mapp-php5 .php” to .htaccess file.
Now the only thing showing is:
<?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’ );Any idea how to fix or whats going on?
The topic ‘MAMP PHP errors’ is closed to new replies.