Wordpress url http://localhost:17486/ shows php code instead of webpa...
Last post Jun 14, 2017 03:26 AM by Yuk Ding
Jun 13, 2017 08:05 PM|nehas2616|LINK
I am new to wordpress and i followed link to install Wordpress on windows 10 Pro with Microsoft WebMatrix.
Installation went well and when i try to open this url which shows under sites it is showing php code as below:-
* 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
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );Please let me know things to check if I am missing anything though I have googled a lot and not able to figure out yet.
Jun 14, 2017 03:26 AM|Yuk Ding|LINK
It seems that the IIS express recognize the .php file as text/pkain instead of a php file.
Webmatrix use IIS express instead of IIS by default, so please check whether
PHP for IIS express has been installed in web platform installer. Then hen you open the PHP site, it should detect the PHP automatically. You could also go to webmatix->open site->site tab->settings enable PHP->select the PHP version.
You could set wordpress by following this link: