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
Post a Comment