我的vps ubuntu14.04.5LTS和PHP版本7.1.17-1 + ubuntu14.04.1 + deb.sury.org +1
如果我打开我的网页链接,它会显示如下:
<?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', false);
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
这是怎么回事?或者补充更少的支持php的补充
发布于 2018-05-14 16:58:40
如果您直接运行该文件,php将显示您需要在本地服务器/联机服务器上运行php文件,那么只有它将执行应该做的事情,否则它将显示php代码。
https://stackoverflow.com/questions/50335130
复制相似问题