In WordPress run time display php code direct? -


*below code in display browser directly *

<?php /**  * loads wordpress environment , template.  *  * @package wordpress  */  if ( !isset($wp_did_header) ) {      $wp_did_header = true;      require_once( dirname(__file__) . '/wp-load.php' );      wp();      require_once( abspath . wpinc . '/template-loader.php' );  }  

this code displayed on screen please give me solution

it sounds server not executing php , serving plain text files.

my recommendation confirm server has started correctly , php installed , working. can access phpmyadmin, cpanel or run php through terminal?

if it's installed locally, might help: http://reviews.cnet.co.uk/software-and-web-apps/how-to-install-and-test-wordpress-on-a-local-server-50005338/.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -